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

# Bulk Remove Path Part Tags Handler

> Bulk remove tags from a path part.

Silently ignores tags that aren't attached.
Requires write permission on the target path part.



## OpenAPI

````yaml /openapi.yaml delete /v1/path-parts/{path_part_id}/tags
openapi: 3.1.0
info:
  title: Knowledge Stack API
  description: Knowledge Stack backend API for authentication and knowledge management
  version: 0.1.0
servers:
  - url: http://localhost:8000
    description: Knowledge Stack API local dev server
security: []
tags:
  - name: auth
    description: Authentication and identity management
  - name: users
    description: User accounts
  - name: tenants
    description: Tenant management
  - name: invites
    description: Tenant invitations
  - name: folders
    description: Folder management
  - name: documents
    description: Document management
  - name: document-versions
    description: Document version management
  - name: sections
    description: Document sections
  - name: chunks
    description: Chunk CRUD and semantic search
  - name: chunk-lineages
    description: Chunk lineage tracking
  - name: tags
    description: Tag management
  - name: path-parts
    description: Path part traversal and tagging
  - name: Threads
    description: Thread conversations
  - name: Thread Messages
    description: Thread message management
  - name: user-permissions
    description: User path permissions
  - name: workflows
    description: Ingestion workflows
paths:
  /v1/path-parts/{path_part_id}/tags:
    delete:
      tags:
        - path-parts
      summary: Bulk Remove Path Part Tags Handler
      description: |-
        Bulk remove tags from a path part.

        Silently ignores tags that aren't attached.
        Requires write permission on the target path part.
      operationId: bulk_remove_path_part_tags
      parameters:
        - name: path_part_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Path Part Id
        - name: authorization
          in: header
          required: false
          schema:
            type: string
            nullable: true
            title: Authorization
        - name: ks_uat
          in: cookie
          required: false
          schema:
            type: string
            nullable: true
            title: Ks Uat
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkTagRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PathPartTagsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BulkTagRequest:
      properties:
        tag_ids:
          items:
            type: string
            format: uuid
          type: array
          maxItems: 10
          title: Tag Ids
          description: List of tag IDs to set/remove
      additionalProperties: false
      type: object
      required:
        - tag_ids
      title: BulkTagRequest
      description: Request to set or remove tags on a path part.
    PathPartTagsResponse:
      properties:
        tags:
          items:
            $ref: '#/components/schemas/TagResponse'
          type: array
          title: Tags
          description: Tags attached to the path part
      additionalProperties: false
      type: object
      required:
        - tags
      title: PathPartTagsResponse
      description: Response containing the current tags for a path part.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TagResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: Tag ID
        name:
          type: string
          title: Name
          description: Tag name
        color:
          type: string
          title: Color
          description: Tag color hex
        description:
          type: string
          nullable: true
          title: Description
          description: Tag description
        tenant_id:
          type: string
          format: uuid
          title: Tenant Id
          description: Tenant ID
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Creation timestamp
        updated_at:
          type: string
          format: date-time
          title: Updated At
          description: Last update timestamp
      additionalProperties: false
      type: object
      required:
        - id
        - name
        - color
        - tenant_id
        - created_at
        - updated_at
      title: TagResponse
      description: Tag response model.
    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

````