---
updatedAt: 2026-06-03T14:46:37.000Z
agentTools:
  projectIndex: https://developers.fieldwire.com/llms.txt
---

# Delete a batch of all spec_sections

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Fieldwire Regional API",
    "version": "v3"
  },
  "servers": [
    {
      "url": "https://client-api.{region}.fieldwire.com",
      "variables": {
        "region": {
          "default": "us",
          "enum": [
            "ca",
            "eu",
            "us"
          ]
        }
      }
    }
  ],
  "components": {
    "headers": {
      "current_user_id": {
        "description": "Current user's id",
        "schema": {
          "type": "integer"
        }
      }
    },
    "parameters": {
      "api_version": {
        "name": "Fieldwire-Version",
        "in": "header",
        "description": "Specifies the version of the API to talk to",
        "required": true,
        "schema": {
          "type": "string",
          "format": "date"
        }
      },
      "entities_filter": {
        "name": "Fieldwire-Filter",
        "in": "header",
        "description": "Specifies if request should include active, deleted or all (default) entities",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "active",
            "deleted"
          ]
        }
      },
      "entities_per_page": {
        "name": "Fieldwire-Per-Page",
        "in": "header",
        "description": "Specifies the number of entities to include in the request",
        "required": false,
        "schema": {
          "type": "integer",
          "maximum": 1000
        }
      },
      "project_id": {
        "name": "project_id",
        "in": "path",
        "description": "ID of the project this entity belongs to",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "last_synced_at": {
        "name": "last_synced_at",
        "in": "query",
        "description": "Timestamp since when further updates should be included",
        "required": false,
        "schema": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "securitySchemes": {
      "jwt": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Access token (JWT) generated using the acquired refresh token (API token). Our [authentication](https://developers.fieldwire.com/docs/authentication) guide covers the steps to generate a valid token"
      }
    }
  },
  "paths": {
    "/api/v3/projects/{project_id}/spec_sections/batch_all": {
      "delete": {
        "summary": "Delete a batch of all spec_sections",
        "operationId": "spec_sections_batch_destroy_all",
        "tags": [
          "spec sections"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/api_version"
          },
          {
            "$ref": "#/components/parameters/entities_filter"
          },
          {
            "$ref": "#/components/parameters/entities_per_page"
          },
          {
            "$ref": "#/components/parameters/last_synced_at"
          },
          {
            "$ref": "#/components/parameters/project_id"
          },
          {
            "name": "filters[current_version_title_eq]",
            "description": "Filter on current_version_title field being equal to passed in value, allows for filtering with a array of values",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "Test Value"
            }
          },
          {
            "name": "filters[current_version_title_like]",
            "description": "Filter on current_version_title field being like passed in value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "Test Value"
            }
          },
          {
            "name": "filters[section_number_eq]",
            "description": "Filter on section_number field being equal to passed in value, allows for filtering with a array of values",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "Test Value"
            }
          },
          {
            "name": "filters[section_number_like]",
            "description": "Filter on section_number field being like passed in value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "Test Value"
            }
          },
          {
            "name": "filters[attached_to_submittal_eq]",
            "description": "Filter on attached_to_submittal field being equal to passed in value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "true"
            }
          },
          {
            "name": "filters[created_at_gte]",
            "description": "Filter on created_at field being greater than or equal to the passed in value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "2009-06-15T13:45:30Z"
            }
          },
          {
            "name": "filters[created_at_gt]",
            "description": "Filter on created_at field being greater than the passed in value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "2009-06-15T13:45:30Z"
            }
          },
          {
            "name": "filters[created_at_lte]",
            "description": "Filter on created_at field being less than or equal to the passed in value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "2009-06-15T13:45:30Z"
            }
          },
          {
            "name": "filters[created_at_lt]",
            "description": "Filter on created_at field being less than to the passed in value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "2009-06-15T13:45:30Z"
            }
          },
          {
            "name": "filters[updated_at_gte]",
            "description": "Filter on updated_at field being greater than or equal to the passed in value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "2009-06-15T13:45:30Z"
            }
          },
          {
            "name": "filters[updated_at_gt]",
            "description": "Filter on updated_at field being greater than the passed in value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "2009-06-15T13:45:30Z"
            }
          },
          {
            "name": "filters[updated_at_lte]",
            "description": "Filter on updated_at field being less than or equal to the passed in value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "2009-06-15T13:45:30Z"
            }
          },
          {
            "name": "filters[updated_at_lt]",
            "description": "Filter on updated_at field being less than to the passed in value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "2009-06-15T13:45:30Z"
            }
          },
          {
            "name": "filters[spec_section_current_version_title_section_number_like]",
            "description": "Filter on spec_section_current_version_title_section_number field being like passed in value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "Test Value"
            }
          },
          {
            "name": "filters[conflict_eq]",
            "description": "Filter on conflict field being equal to passed in value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "true"
            }
          },
          {
            "name": "filters[processing_eq]",
            "description": "Filter on processing field being equal to passed in value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "true"
            }
          }
        ],
        "security": [
          {
            "jwt": []
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response",
            "headers": {
              "X-Current-User-Id": {
                "$ref": "#/components/headers/current_user_id"
              }
            }
          }
        }
      }
    }
  }
}
```