deleteVulnerabilityById method

Future<void> deleteVulnerabilityById(
  1. String vulnerabilityId
)

Delete the Vulnerability data currently stored for the given ID.

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> deleteVulnerabilityById(String vulnerabilityId) async {
  await _client.send(
    'delete',
    'rest/security/1.0/vulnerability/{vulnerabilityId}',
    pathParameters: {
      'vulnerabilityId': vulnerabilityId,
    },
  );
}