Delete tracking links for affected entities in Dynatrace with the Vulnerabilities API, using the vulnerability ID and affected entity IDs.
| POST | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/vulnerabilities/v1/vulnerabilities/{id}/affected-entities:delete-tracking-links |
You provide the vulnerability ID in the path and send affectedEntityIds in the request body. It returns a response for editing tracking links of affected entities from Dynatrace.
To execute this request, you need a platform token or OAuth access token with vulnerability-service:vulnerabilities:write scope. To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| id | string | The ID of the related vulnerability. | path | Required |
| body | Delete | The JSON body of the request containing input parameters. | body | Required |
DeleteTrackingLinksRequestBody objectInput parameters for deleting tracking links of affected entities.
| Element | Type | Description | Required |
|---|---|---|---|
| affectedEntityIds | Affected | - | Required |
AffectedEntityIds objectThis is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"affectedEntityIds": ["string"]}
| Code | Description |
|---|---|
| 200 | - |
| 400 | - |
| 401 | - |
| 403 | - |
| 404 | - |
| 429 | - |
| 500 | - |
| 501 | - |
| 503 | - |