Bulk soft-delete requests
DELETE
/api/v1/requests/bulk
const url = 'https://example.com/api/v1/requests/bulk';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 https://example.com/api/v1/requests/bulk \ --header 'Content-Type: application/json' \ --data '{ "ids": [ "example" ] }'Request Body
Section titled “Request Body ” Media type application/json
object
ids
required
Array<string>
Responses
Section titled “ Responses ”Success
Media type application/json
object
deleted
required
number