Skip to content

Remove fields

DELETE /document-intelligence/v1/collections/{collection_id}/fields

Remove fields from a collection's schema by name. Built-in fields (like document_type and summary) cannot be removed.

Parameters

Name In Required Notes
collection_id path yes -

Request body

Field Type Required Notes
names array of string yes The names of the fields to remove.

Example

curl -X DELETE "https://api.futuresmart.ai/document-intelligence/v1/collections/{collection_id}/fields" \
  -H "Authorization: Bearer $FS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "names": [
      "<names>"
    ]
  }'

Responses

200

Field Type Required Notes
deleted array of string yes -
not_found array of string yes -

Every failure, a malformed request included, comes back in the shared envelope with a stable code to branch on. See Errors.