Delete Raw Data
curl --request DELETE \
--url https://api.example.com/admin/v1/raw-data \
--header 'Content-Type: application/json' \
--data '
{
"rawDataIds": [
"<string>"
]
}
'import requests
url = "https://api.example.com/admin/v1/raw-data"
payload = { "rawDataIds": ["<string>"] }
headers = {"Content-Type": "application/json"}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({rawDataIds: ['<string>']})
};
fetch('https://api.example.com/admin/v1/raw-data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/admin/v1/raw-data"
payload := strings.NewReader("{\n \"rawDataIds\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"deletedRawDataCount": 123,
"deletedItemCount": 123,
"affectedMemoryIds": [
"<string>"
],
"insightCleanupRequired": true
}
}Raw Data
Delete Raw Data
DELETE
/
admin
/
v1
/
raw-data
Delete Raw Data
curl --request DELETE \
--url https://api.example.com/admin/v1/raw-data \
--header 'Content-Type: application/json' \
--data '
{
"rawDataIds": [
"<string>"
]
}
'import requests
url = "https://api.example.com/admin/v1/raw-data"
payload = { "rawDataIds": ["<string>"] }
headers = {"Content-Type": "application/json"}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({rawDataIds: ['<string>']})
};
fetch('https://api.example.com/admin/v1/raw-data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/admin/v1/raw-data"
payload := strings.NewReader("{\n \"rawDataIds\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"deletedRawDataCount": 123,
"deletedItemCount": 123,
"affectedMemoryIds": [
"<string>"
],
"insightCleanupRequired": true
}
}
