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

# Bulk delete account fields

> Soft-deletes account custom fields in bulk. Each item identifies one field by `id`, `attribute_id`, or `property_name`. System fields cannot be deleted.



## OpenAPI

````yaml api-reference/openapi.json delete /v1/accounts/fields/bulk
openapi: 3.1.0
info:
  title: Octolane Public API
  version: 1.0.0
  description: >-
    OpenAPI specification for Octolane public APIs. These endpoints let external
    systems read CRM data and create or update accounts, contacts,
    opportunities, notes, and activities through the public API gateway.
  contact:
    name: Octolane
    url: https://octolane.com
servers:
  - url: https://api.octolane.com
    description: Public API gateway
security:
  - ApiKeyAuth: []
tags:
  - name: CRM
    description: >-
      Public endpoints for creating, bulk creating, listing, searching, and
      updating CRM data.
paths:
  /v1/accounts/fields/bulk:
    delete:
      tags:
        - CRM
      summary: Bulk delete account fields
      description: >-
        Soft-deletes account custom fields in bulk. Each item identifies one
        field by `id`, `attribute_id`, or `property_name`. System fields cannot
        be deleted.
      operationId: bulkDeleteAccountFieldsV1
      requestBody:
        required: true
        description: Array of field delete selectors. Maximum 100 items.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FieldBulkDeleteInput'
      responses:
        '200':
          description: Account fields were deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
        '400':
          description: The request failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: >-
            The API key is missing, invalid, or not allowed to access this
            route.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: The route rate limit was exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    FieldBulkDeleteInput:
      type: array
      minItems: 1
      maxItems: 100
      items:
        $ref: '#/components/schemas/FieldDeleteInput'
    ApiResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        message:
          type: string
        data:
          description: Endpoint-specific response payload.
      additionalProperties: true
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
          example: Validation failed
        statusCode:
          type: integer
          example: 400
      additionalProperties: true
    FieldDeleteInput:
      type: object
      description: >-
        Field delete selector. Include exactly one of `id`, `attribute_id`, or
        `property_name`.
      properties:
        id:
          type: string
          format: uuid
        attribute_id:
          type: string
          format: uuid
          description: Alias for `id` when deleting pipeline fields.
        property_name:
          type: string
          pattern: ^[a-z][a-z0-9_]*$
          example: customer_tier_123
      minProperties: 1
      maxProperties: 1
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Personal API key. Requests act as the workspace member who created the
        key, with that member's current access, and stop working when the key is
        disabled or its creator leaves the workspace.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.