deleteVulnerabilitiesByProperty method

Future<void> deleteVulnerabilitiesByProperty()

Bulk delete all Vulnerabilities that match the given request.

One or more query params must be supplied to specify Properties to delete by. If more than one Property is provided, data will be deleted that matches ALL of the Properties (e.g. treated as an AND). Read the POST bulk endpoint documentation for more details.

e.g. DELETE /bulkByProperties?accountId=account-123&createdBy=user-456

Deletion is performed asynchronously. The GET vulnerability endpoint can be used to confirm that data has been deleted successfully (if needed).

Only Connect apps that define the jiraSecurityInfoProvider module can access this resource. This resource requires the 'DELETE' scope for Connect apps.

Implementation

Future<void> deleteVulnerabilitiesByProperty() async {
  await _client.send(
    'delete',
    'rest/security/1.0/bulkByProperties',
  );
}