Security problems API - POST mute a problem

Mutes the specified security problem. Muted problems are hidden from the list of problems in the UI.

The request consumes an application/json payload.

Early Adopter

This request is an Early Adopter release and may be changed in non-compatible way.

POST
  • Managed https://{your-domain}/e/{your-environment-id}/api/v2/securityProblems/{id}/mute
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v2/securityProblems/{id}/mute

Authentication

To execute this request, you need the Write security problems (securityProblems.write) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.

Parameters

Parameter Type Description In Required
id string

The ID of the required security problem.

path required
body Mute

The JSON body of the request. Contains the muting information.

body optional

Body format

The Mute object

Information on muting a security problem.

Element Type Description Required
reason string

The reason for muting a security problem.

required
comment string

A comment about the muting reason.

required

Response

Response codes

Code Description
200

Success. The security problem has been muted.

204

Not executed. The security problem is already muted.

Response body

A successful request doesn't return any content.