GitLab API icon

GitLab API

Gitlab

Actions1062

Alert_management → deleteApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesMetricImageId

AI-generated

Summary

Delete a specific metric image from an alert within a GitLab project by specifying the project ID, alert IID, and metric image ID.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project.
  • alert_iid (required) — The internal ID (IID) of the alert within the project.
  • metric_image_id (required) — The ID of the metric image to delete from the alert.
  • skipAuthentication — Optionally skip authentication for this request (defaults to false).

Output shape

no body — success/failure only

The operation performs an HTTP DELETE request to the endpoint and does not return response data; success is indicated by a successful HTTP status code.

Examples

Example 1: Delete a metric image with ID 42 from alert IID 23 in project with ID '17'

Provide the project ID as '17', alert IID as '23', and metric image ID as '42' in the path parameters.

Links

Discussion