---
title: "Remove nested attributes of items"
method: POST
path: "/api/v2/indexing/bulk-remove-nested"
tags: ["IndexV2"]
---

# Remove nested attributes of items

`POST /api/v2/indexing/bulk-remove-nested`

Remove nested attributes of multiple documents in a specific index

## Headers

- `X-HawkSearch-ApiKey` string, required

## Request body

- BulkRemoveNestedParams
  - `IndexName` string — Index used for delete operation
  - `Items` BulkRemoveNestedItem[] — List of items to be updated
    - `DocId` string — Primary key Value
    - `NestedIds` string[] — Nested Primary key Values

## Response `200`

OK

- object

---

[API](https://skmtc.net/hawksearch/apis/hawksearch-elasticsearch-indexingapi.md) · [All operations](https://skmtc.net/hawksearch/apis/hawksearch-elasticsearch-indexingapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hawksearch/hawksearch-elasticsearch-indexingapi/versions/24cba7bf3468/schema)
