Batch Delete Funnels
DELETE
/admin/analytics/funnels
const url = 'http://localhost:9000/admin/analytics/funnels';const options = { method: 'DELETE', headers: {'Content-Type': 'application/json'}, body: '{"ids":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:9000/admin/analytics/funnels \ --header 'Content-Type: application/json' \ --data '{ "ids": [ "example" ] }'Request Body required
Section titled “Request Body required ” Media type application/json
object
ids
required
Array<string>
Example generated
{ "ids": [ "example" ]}Responses
Section titled “ Responses ”OK
Media type application/json
object
id
string
object
string
deleted
boolean
Example generated
{ "id": "example", "object": "example", "deleted": true}