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

# Remove nested attributes of items

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

## Request

- Base URL: `https://indexing-dev.hawksearch.net`
- URL: `https://indexing-dev.hawksearch.net/api/v2/indexing/remove-nested`
- Auth: none declared. Required headers: `X-HawkSearch-ApiKey`
- TypeScript: <https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/docs/api/v2/indexing/remove-nested/post.ts> (a function with typed inputs; its response is checked against the schema)

Remove nested attributes of documents in a specific index

## Headers

- `X-HawkSearch-ApiKey` string, required

## Request body

- RemoveNestedParams
  - `IndexName` string: Index used for delete operation
  - `DocId` string: Primary key Value
  - `NestedIds` string[]: Nested Primary key Values

## Response `200`

OK

- object

---

[API](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi.md) - [All operations](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/llms.txt) - [OpenAPI document](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/revisions/24cba7bf3468?raw)
