Authenticity
Delete Scans
Delete scans from Copyleaks API.
PATCH
Request
Headers
Request Body
The request body is a JSON object containing the scans to delete.array<object>
required
The list of scans to delete.
<= 10000 itemsExample: [ {"id": "Your-scan-id-1"}, {"id": "Your-scan-id-2"} ]boolean
default:"false"
Deleting and purging a scan through the API will remove all traces of the scan from Copyleaks servers, including Shared Data Hubs and Private Cloud Hubs. Once purged, the scan will be permanently deleted and will not be available for future scans.
string
Allows you to register to a webhook that will be fired once the removal has been completed. Make sure that your endpoint is listening to a POST method (no body parameters were supplied).Example:
https://yoursite.com/webhook/deletedarray[array]
default:"null"
Adds user specific headers to the request. This is needed in case the webhook endpoint requires any custom headers.Example:
[ [ "header-key", "header-value" ], ... ]Responses
- 202
- 400
- 401
202 Accepted - The request was placed for removal. Note that this process is asynchronous. This means that the actual removal will take place once one of our servers will be free. In order to get notified after the command execution, register to webhook notification (completionWebhook).

