PUT
/
collections
/
{collection}
/
schema
/
fields
/
{field}
Update a collection field
curl --request PUT \
  --url https://{FUSION HOST}/api/collections/{collection}/schema/fields/{field} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "type": "<string>",
  "indexed": true,
  "stored": true,
  "multiValued": true,
  "required": true,
  "docValues": true,
  "omitNorms": true,
  "omitPositions": true,
  "omitTermFreqAndPositions": true,
  "termVectors": true,
  "termPositions": true,
  "termOffsets": true,
  "copyDests": [
    "<string>"
  ],
  "copySources": [
    "<string>"
  ],
  "numDocs": 123,
  "default": "<string>"
}'

Path Parameters

collection
string
required

Collection ID.

field
string
required

Field name.

Body

application/json

Field configuration.

The body is of type object.