---
title: "Unset current"
method: POST
path: "/api/group-indexing/unset-current"
tags: ["GroupIndexing"]
---

# Unset current

`POST /api/group-indexing/unset-current`

Unsets current index and optinally deletes it

## Headers

- `X-HawkSearch-ApiKey` string, required

## Request body

- UnsetIndexParams — Unset index params
  - `DeleteAfterUnset` boolean — Determines if index should be deleted after unset

## 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)
