# Update a metric image for an alert **PUT /projects/{id}/alert_management_alerts/{alert_iid}/metric_images/{metric_image_id}** Update a metric image for an alert ## Servers - https://www.gitlab.com/api/v4: https://www.gitlab.com/api/v4 () ## Authentication methods - Api key auth ## Parameters ### Path parameters - **id** (string | integer) The ID or [URL-encoded path of the project](https://docs.gitlab.com/api/rest/#namespaced-paths). - **alert_iid** (integer(int32)) The IID of the Alert - **metric_image_id** (integer(int32)) The ID of metric image ### Body: multipart/form-data (object) - **url** (string) The url to view more metric info - **url_text** (string) A description of the image or URL ## Responses ### 200 Update a metric image for an alert #### Body: application/json (object) - **id** (integer(int32)) - **created_at** (string(date-time)) - **filename** (string) - **file_path** (string) - **url** (string) - **url_text** (string) ### 403 Forbidden ### 422 Unprocessable entity [Powered by Bump.sh](https://bump.sh)