Index::DeleteData
Deletes data from the given index based on the supplied ids
- application/json
Request Body required
- index_name string
- ids string[]
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
- object
{}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
POST /index/delete_data
Request
Request
curl / cURL
curl -L -X POST 'https://infrawhispers.github.io/index/delete_data' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"index_name": "string",
"ids": [
"string"
]
}'
python / requests
curl -L -X POST 'https://infrawhispers.github.io/index/delete_data' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"index_name": "string",
"ids": [
"string"
]
}'
go / native
curl -L -X POST 'https://infrawhispers.github.io/index/delete_data' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"index_name": "string",
"ids": [
"string"
]
}'
nodejs / axios
curl -L -X POST 'https://infrawhispers.github.io/index/delete_data' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"index_name": "string",
"ids": [
"string"
]
}'