Bulk delete discoveries
User API key (Bearer scp_u_...). Create in Platform > API Keys.
In: header
Request Body
application/json
Array of Discovery IDs to delete
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/discoveries/bulk-delete" \ -H "Content-Type: application/json" \ -d '[ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ]'{
"meta": {
"api_version": 1,
"server_version": "0.19.6"
},
"success": true,
"data": {
"deleted_count": 0,
"requested_count": 0
},
"error": "string"
}{
"meta": {
"api_version": 1,
"server_version": "0.19.6"
},
"success": true,
"code": "string",
"error": "string",
"params": {
"property1": null,
"property2": null
}
}Product names and logos are trademarks of their respective owners. See credits.
Cancel discovery sessions
Cancels the running session of each discovery, given discovery IDs. Sessions still queued are cancelled before running ones, so cancelling a running session never starts a queued one that is also being cancelled. The request is refused, and nothing is cancelled, if any discovery isn't running or its session is just starting on its daemon.
Turn discovery schedules on or off
Turns the schedule of each scheduled discovery on or off, and changes nothing else about them. The request is refused, and nothing changes, if any discovery has no schedule or is running.