Search & Match
Update an index
Changed onUpdates the specified index
patch/v3/index/{name}
Request
- Base URLhttps://api.affinda.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namestring required
Unique index name
Example:my-index
Index name
Request body
Example request
{
"name": "my-index"
}Response
Successfully updated index data.
Example response
{
"name": "my-index",
"user": {
"id": 1,
"name": "Carl Johnson",
"email": "carljohnson@grove.street",
"avatar": "https://affinda-api.s3.amazonaws.com/media/user-avatar.png?AWSAccessKeyId=KEY&Signature=SIG"
}
}Changes
- info
api tag
Search & Matchadded - info
api tag
Search & Match API - Indexingremoved
- info
- breaking
removed the required property
from the response with the status - info
added the required property
to the response with the status
- breaking