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

# Delete File Category Fields

> Delete the specified file category fields, supports batch deletion of regular fields and table fields



## OpenAPI

````yaml /docflow/en/rest-api/openapi.bundle.yaml post /api/app-api/sip/platform/v2/category/fields/delete
openapi: 3.0.0
info:
  title: DocFlow API
  description: >-
    DocFlow REST API, providing file upload and file processing result retrieval
    capabilities
  version: 2.8.4
servers:
  - url: https://docflow.textin.com
security:
  - ApiId: []
    SecretCode: []
paths:
  /api/app-api/sip/platform/v2/category/fields/delete:
    post:
      tags:
        - File Category
      summary: Delete File Category Fields
      description: >-
        Delete the specified file category fields, supports batch deletion of
        regular fields and table fields
      operationId: deleteCategoryFields
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                workspace_id:
                  type: string
                  description: Workspace ID
                  example: '1234567890'
                category_id:
                  type: string
                  description: File category ID
                  example: '1234567890'
                field_ids:
                  type: array
                  description: List of field IDs to delete
                  items:
                    type: string
                  example:
                    - '1234567890'
                    - 987654321
                table_id:
                  type: string
                  description: >
                    Table ID

                    - Not provided: Deletes regular fields (fields in
                    result.fields)

                    - Provide table ID: Deletes table fields under the specified
                    table (fields in result.tables[].fields)
                  example: '1234567890'
              required:
                - workspace_id
                - category_id
                - field_ids
      responses:
        '200':
          description: Successfully deleted file category fields
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CodeMessage'
components:
  schemas:
    CodeMessage:
      type: object
      properties:
        code:
          type: integer
          description: Status code
          example: 200
        msg:
          type: string
          description: Status description
      required:
        - code
        - msg
  securitySchemes:
    ApiId:
      type: apiKey
      in: header
      name: x-ti-app-id
    SecretCode:
      type: apiKey
      in: header
      name: x-ti-secret-code

````