capabilities.work

Create or replace a document at an ID via POST

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

Get something done

Create or replace a document at an ID via POST

with Elastic

Use Elastic: its Elasticsearch Document API lets you create or replace a document at an ID via POST in a single step (POST /{index}/_doc/{id}). capabilities.work can help you get signed up and connected.

  • Can I POST a document to a specific ID instead of using PUT?
  • Is POST to _doc with an ID the same as indexing with PUT?
Say it to your AI assistant
  • POST this document to {index} as ID {id}.
  • Use POST _doc to write {id} into {index} with op_type {op_type}.
For your developer

POST /{index}/_doc/{id} in Elasticsearch Document API. Full spec on APIs.io.