---
title: "Set index mappings"
method: PUT
path: "/api/{index}/_mapping"
tags: ["Index"]
---

# Set index mappings

`PUT /api/{index}/_mapping`

## Path parameters

- `index` string, required

## Request body

- MetaMappings
  - `properties` object

## Response `200`

OK

- MetaHTTPResponse
  - `message` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

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