Skip to content

Delete a metric image

DELETE
/api/v4/projects/{id}/alert_management_alerts/{alert_iid}/metric_images/{metric_image_id}

Deletes a specified metric image for an alert.

id
required
One of:
string

The ID or URL-encoded path of the project

Example
17
alert_iid
required
integer

The IID of the Alert

Example
23
metric_image_id
required
integer

The ID of metric image

Example
42

No Content

Media type application/json
object
id
integer format: int64
created_at
string format: date-time
filename
string
file_path
string
url
string
url_text
string
Example
{
"id": 23,
"created_at": "2020-11-13T00:06:18.084Z",
"filename": "file.png",
"file_path": "/uploads/-/system/alert_metric_image/file/23/file.png",
"url": "https://example.com/metric",
"url_text": "An example metric"
}

Bad Request

Forbidden

Not Found

Unprocessable entity