---
title: "Changes to Approves deletion of media"
method: POST
path: "/admin/medias/{media_id}/approve-deletion"
---

# Changes to Approves deletion of media

`POST /admin/medias/{media_id}/approve-deletion`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 59 revisions.

- **2026-07-20** `f273786fb018`: 8 info
- **2025-04-28** `d4cf7d652234`: 1 breaking
- **2025-04-09** `6900b24c5e87`: 1 info
- **2024-09-26** `8b4231abd1b0`: 1 info

## Changes

- **2026-07-20** `f273786fb018`: 8 info
  - added `#/components/schemas/problem` to the response body `allOf` list for the response status `404`
  - added `#/components/schemas/problem` to the response body `allOf` list for the response status `409`
  - removed `#/components/schemas/problem.yaml` from the response body `allOf` list for the response status `404`
  - removed `#/components/schemas/problem.yaml` from the response body `allOf` list for the response status `409`
  - added the optional property `detail` to the response with the `422` status
  - added the optional property `status` to the response with the `422` status
  - added the optional property `title` to the response with the `422` status
  - added the optional property `type` to the response with the `422` status
- **2025-04-28** `d4cf7d652234`: 1 breaking
  - for the `path` request parameter `media_id`, the format changed from no format to `int64`
- **2025-04-09** `6900b24c5e87`: 1 info
  - added the non-success response with the status `422`
- **2024-09-26** `8b4231abd1b0`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts/docs/admin/medias/:media_id/approve-deletion/post.md) - [API](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts.md) - [Page](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts/changes/admin/medias/:media_id/approve-deletion/post)
