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

# Cancel Brand Bulk Load Run

> Cancel the run without orphaning in-flight children.

Queued URLs become ``cancelled``. URLs already admitted keep running — a
``brand_from_url`` job is durable and already spending, so the only honest
outcome is to let it finish and record the Brand it creates. The run stays
worker-eligible until those settle, then closes out.



## OpenAPI

````yaml /openapi.json post /api/v1/admin/brand-bulk-load/{run_id}/cancel
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/admin/brand-bulk-load/{run_id}/cancel:
    post:
      tags:
        - Admin Brand Bulk Load
        - Admin
      summary: Cancel Brand Bulk Load Run
      description: >-
        Cancel the run without orphaning in-flight children.


        Queued URLs become ``cancelled``. URLs already admitted keep running — a

        ``brand_from_url`` job is durable and already spending, so the only
        honest

        outcome is to let it finish and record the Brand it creates. The run
        stays

        worker-eligible until those settle, then closes out.
      operationId: >-
        cancel_brand_bulk_load_run_api_v1_admin_brand_bulk_load__run_id__cancel_post
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrandBulkLoadControlResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    BrandBulkLoadControlResponse:
      properties:
        run_id:
          type: string
          title: Run Id
        status:
          type: string
          title: Status
      type: object
      required:
        - run_id
        - status
      title: BrandBulkLoadControlResponse
    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
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````