younifyd
Menu

Remove Fields Batch

Delete fields with individual results

DELETE/rest/organizations/{organizationId}/indexes/fields/batch/delete/results

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Remove Fields Batch action (under Field).
  3. Fill in the fields below, then reference the result from later steps as {{removeFieldsBatch.response.data}}.

Request

Path parameters

organizationIdstringrequired

The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br /><b>Example:</b> `mycoveocloudv2organizationg8tp8wu3`

Query parameters

fieldsarray<string>required

The `name` properties of the fields to delete.<br />**Example:** `myfield1,myfield2,myfield3`

Response

Returns 200 with an object. Read it in later steps with {{removeFieldsBatch.response.data.<field>}}.

batchOperationIdstring
batchOperationResourcesStatusarray<object>
errorDetailsstring
operationResultstring

One ofSUCCESSERROR

resourceModelobject28 fields

The information to create the new field with.

successfulboolean
statusstring

One ofIN_PROGRESSCOMPLETED

json
{
  "batchOperationId": "string",
  "batchOperationResourcesStatus": [
    {
      "errorDetails": "string",
      "operationResult": "SUCCESS",
      "resourceModel": {
        "automaticFacetsCandidate": false,
        "automaticFacetsCandidateTags": [
          "string"
        ],
        "dateFormat": "%Y/%m/%d@%H:%M:%S%G",
        "description": "string",
        "facet": false,
        "hierarchicalFacet": false,
        "includeInQuery": true,
        "includeInResults": true,
        "keepAccentsDisplayValueFacet": false,
        "keepDistinctDisplayValueFacet": false,
        "keyValue": false,
        "label": "string"
      },
      "successful": false
    }
  ],
  "status": "IN_PROGRESS"
}

Need more? See the Coveo guide for connection setup and behaviour shared by every action.

Was this page helpful?