younifyd
Menu

Delete records

Delete records

POST/vectors/delete

Use it in a workflow

  1. Add a step and choose the Pinecone connector.
  2. Pick the Delete records action (under Data).
  3. Fill in the fields below, then reference the result from later steps as {{deleteRecords.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

idsarray<string>

Vectors to delete.

deleteAllboolean

This indicates that all vectors in the index namespace should be deleted. Cannot be combined with `ids`.

Default false

namespacestring

The namespace to delete records from, if applicable.

filterobject

If specified, the metadata filter here will be used to select the vectors to delete. This is mutually exclusive with `deleteAll`. See [Delete data](https://docs.pinecone.io/guides/manage-data/delete-data#delete-records-by-metadata).

json
{
  "ids": [
    "id-0",
    "id-1"
  ],
  "deleteAll": false,
  "namespace": "example-namespace",
  "filter": {}
}

Response

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

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