younifyd
Menu

Patch Algolia Search Index Settings

Update Search Index Settings

PATCH/algolia-search/{hubId}/indexes/{indexId}/settings

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Patch Algolia Search Index Settings action (under Search Indexes).
  3. Fill in the fields below, then reference the result from later steps as {{patchAlgoliaSearchIndexSettings.response.data}}.

Request

Path parameters

hubIdstringrequired

Hub ID

indexIdstringrequired

Index ID

Query parameters

forwardToReplicasboolean

Forward to replicas

Request body

Enter the body as JSON in the step's Body field.

replicasarray<string>

Index replicas that are managed by Dynamic Content should follow the naming convention &lt;hubName&gt;.&lt;replicaName&gt; - e.g. anyafinn.womens-clothing-replica

_linksobject

Resource HAL links

selfany
settingsany
indexany
json
{
  "replicas": [
    "string"
  ],
  "_links": {
    "self": null,
    "settings": null,
    "index": null
  }
}

Response

Returns 204 with a any. Read it in later steps with {{patchAlgoliaSearchIndexSettings.response.data.<field>}}.

Need more? See the Amplience guide for connection setup and behaviour shared by every action.