load ./chilkat.dll # This example assumes the Chilkat API to have been previously unlocked. # See Global Unlock Sample for sample code. set http [new_CkHttp] CkHttp_SetRequestHeader $http "X-Meili-Api-Key" "masterKey" set resp [new_CkHttpResponse] set success [CkHttp_HttpNoBody $http "DELETE" "http://localhost:7700/indexes/indexUID/settings/filterable-attributes" $resp] if {$success == 0} then { puts [CkHttp_lastErrorText $http] delete_CkHttp $http delete_CkHttpResponse $resp exit } puts [CkHttpResponse_get_StatusCode $resp] puts [CkHttpResponse_bodyStr $resp] delete_CkHttp $http delete_CkHttpResponse $resp
curl -X DELETE -H "X-Meili-Api-Key: masterKey" http://localhost:7700/indexes/indexUID/settings/filterable-attributes
{
"name": "Reset filterable attributes",
"request": {
"method": "DELETE",
"header": [
],
"url": {
"raw": "{{url}}/indexes/{{indexUID}}/settings/filterable-attributes",
"host": [
"{{url}}"
],
"path": [
"indexes",
"{{indexUID}}",
"settings",
"filterable-attributes"
]
}
},
"response": [
]
}