---
title: "Returns a representation of all media marked for deletion."
method: GET
path: "/admin/medias/marked-for-deletion"
tags: ["Audio"]
---

# Returns a representation of all media marked for deletion.

`GET /admin/medias/marked-for-deletion`

## Request

- Base URL: `http://localhost:4550`
- URL: `http://localhost:4550/admin/medias/marked-for-deletion`
- Auth: none declared

## Response `200`

OK

- GetAdminMediasMarkedForDeletionItem[]
  - `media` GetAdminMediasMarkedForDeletionMediaItem[], required
    - `id` integer, required
    - `channel` integer, required
    - `total_channels` integer, required
    - `is_current` boolean, required
    - `version_count` integer, required
  - `start_at` string, date-time, required: start timestamp
  - `end_at` string, date-time, required: end timestamp
  - `courthouse` AdminMediaCourthouseResponse, required
    - `id` integer
    - `display_name` string
  - `courtroom` AdminMediaCourtroomResponse, required
    - `id` integer
    - `name` string
  - `admin_action` GetAdminMediasMarkedForDeletionAdminAction, required
    - `ticket_reference` string, required
    - `hidden_by_id` integer, required
    - `reason_id` integer, required
    - `comments` string[], required

## Changes

- **2025-01-14** `a393d11b93b1`: 1 breaking, 7 warning, 10 info
  - the `items/admin_action/comments` response's property type changed from `string` to `array` for status `200`
  - removed the optional property `items/admin_action/hidden_at` from the response with the `200` status
  - removed the optional property `items/admin_action/id` from the response with the `200` status
  - removed the optional property `items/admin_action/is_marked_for_manual_deletion` from the response with the `200` status
  - …14 more
- **2024-08-08** `0af8a891a5b4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts/changes/admin/medias/marked-for-deletion/get.md)

---

[API](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts.md) - [All operations](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts/llms.txt) - [OpenAPI document](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts/revisions/f273786fb018?raw)
