private

Create new empty ONS Elasticsearch index

Request a new search index and receive the name of the new index created in response. Endpoint requires service or user authentication.

post/search

Request

  • Base URL
    /v1 (relative, and the document’s source URL is not known)
  • Auth
    API key in header Authorization

Response

OK

index_namestring required

Name of new empty search index

Example response

{
  "index_name": "ons1636458168532"
}

Changes

No recorded changes to this operation across all 1 revision of this API.