---
title: "Add or remove index alias for compatible ES"
method: POST
path: "/es/_aliases"
tags: ["Index"]
---

# Add or remove index alias for compatible ES

`POST /es/_aliases`

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request

## Changes

- **2026-07-17** `c7ce1991bb9a` — 1 info
  - endpoint added
- **2022-06-24** `b796c7453ce7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/zincsearch/apis/zinc-search-engine-api/changes/es/_aliases/post.md)

---

[API](https://skmtc.dev/zincsearch/apis/zinc-search-engine-api.md) · [All operations](https://skmtc.dev/zincsearch/apis/zinc-search-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zincsearch/zinc-search-engine-api/revisions/c7ce1991bb9a/schema)
