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

# Delete P46 Car Batch

> Soft-delete a batch of P46 Car records.

All-or-nothing: rejected if any id is unknown / doesn't belong to the org /
is already soft-deleted (404), or if any car is tied to an in-flight or
successful submission (409).



## OpenAPI

````yaml /api-reference/preview.json post /gb/organizations/{organization_id}/exb/p46cars/batch-delete
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers: []
security: []
paths:
  /gb/organizations/{organization_id}/exb/p46cars/batch-delete:
    post:
      tags:
        - Great Britain
        - Expenses and Benefits
        - Great Britain
        - EXB P46 Car
      summary: Delete P46 Car Batch
      description: >-
        Soft-delete a batch of P46 Car records.


        All-or-nothing: rejected if any id is unknown / doesn't belong to the
        org /

        is already soft-deleted (404), or if any car is tied to an in-flight or

        successful submission (409).
      operationId: >-
        delete_p46_car_batch_gb_organizations__organization_id__exb_p46cars_batch_delete_post
      parameters:
        - name: organization_id
          in: path
          required: true
          schema:
            anyOf:
              - type: string
              - type: string
                format: uuid
            title: Organization Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/P46CarBatchDeleteRequest'
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerToken: []
components:
  schemas:
    P46CarBatchDeleteRequest:
      properties:
        p46_car_ids:
          items:
            anyOf:
              - type: string
              - type: string
                format: uuid
          type: array
          minItems: 1
          title: P46 Car Ids
      additionalProperties: true
      type: object
      required:
        - p46_car_ids
      title: P46CarBatchDeleteRequest
    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:
    BearerToken:
      type: oauth2
      flows:
        password:
          scopes:
            read:all: Read all
            write:all: Write all
            read:health_check: Read health check
            write:health_check: Write health check
            read:wage_types: Read wage types
            write:wage_types: Write wage types
          tokenUrl: >-
            https://auth-preview.intermezzo.ai/authorize?audience=api-preview.intermezzo.ai

````