To create search index configuration, use the following POST request:
POST /gsadmin/v1/cloud/searchIndexConfig
You can either import the search index configuration in ZIP format or save it in JSON format.
When the JSON content of the POST request is included in the body of the request, it must be enclosed in a :content
form parameter. For example, the following JSON illustrates a :content form parameter that contains search index configuration:
:content = { "ecr:type": "search-index-config", "defaultLocale": "en", "locales": [ "en-GB", "fr-CA", "de", "es" ] }