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

# Set current

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

Sets a given index as a current

## Headers

- `X-HawkSearch-ApiKey` string, required

## Request body

- IndexParams — Index params
  - `IndexName` string — Index used for operation
  - `KeepIndexTemplate` boolean — (Optional)Do not delete Index Template

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