// This example assumes the Chilkat API to have been previously unlocked. // See Global Unlock Sample for sample code. Dim http As New Chilkat.Http Dim success As Boolean http.SetRequestHeader "X-Meili-Api-Key","masterKey" Dim resp As New Chilkat.HttpResponse success = http.HttpNoBody("DELETE","http://localhost:7700/indexes/indexUID/settings/displayed-attributes",resp) If (success = False) Then System.DebugLog(http.LastErrorText) Return End If System.DebugLog(Str(resp.StatusCode)) System.DebugLog(resp.BodyStr)
curl -X DELETE -H "X-Meili-Api-Key: masterKey" http://localhost:7700/indexes/indexUID/settings/displayed-attributes
{
"name": "Reset displayed attributes",
"request": {
"method": "DELETE",
"header": [
],
"url": {
"raw": "{{url}}/indexes/{{indexUID}}/settings/displayed-attributes",
"host": [
"{{url}}"
],
"path": [
"indexes",
"{{indexUID}}",
"settings",
"displayed-attributes"
]
}
},
"response": [
]
}