capabilities.work

Shrink an index (POST)

One step with Elastic Stack. We can help you get access.

Get something done

Shrink an index (POST)

Use Elastic Stack: its Elasticsearch Request & Response Specification Indices API lets you shrink an index (POST) in a single step (POST /{index}/_shrink/{target}). capabilities.work can help you get signed up and connected.

  • Is there a POST variant for shrinking an index's primary shard count?
  • Can I add aliases to the shrunken index in the same POST request?
Say it to your AI assistant
  • POST a shrink of {index} into new index {target}.
  • Shrink {index} to {target} via POST and give it aliases {aliases}.
For your developer

POST /{index}/_shrink/{target} in Elasticsearch Request & Response Specification Indices API. Full spec on APIs.io.