PUT /1/indexes/{indexName}/{objectID}
If a record with the specified object ID exists, the existing record is replaced. Otherwise, a new record is added to the index.
If you want to use auto-generated object IDs, use the saveObject
operation.
To update some attributes of an existing record, use the partial
operation instead.
To add, update, or replace multiple records, use the batch
operation.
Servers
- https://{appId}.algolia.net
- https://{appId}-1.algolianet.com
- https://{appId}-2.algolianet.com
- https://{appId}-3.algolianet.com
- https://{appId}-dsn.algolia.net
Path parameters
Name | Type | Required | Description |
---|---|---|---|
indexName |
String | Yes |
Name of the index on which to perform the operation. |
objectID |
String | Yes |
Unique record identifier. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.