---
title: "Delete attachment of a media"
method: DELETE
path: "/medias/{media_id}/attachments/{key}"
tags: ["Attachments"]
deprecated: true
---

# Delete attachment of a media

`DELETE /medias/{media_id}/attachments/{key}`

> **Deprecated.**

Delete attachment of a media

## Path parameters

- `media_id` string, required
- `key` string, required

## Response `200`

OK

- UtilDataResponse
  - `code` integer
  - `data` object
  - `metadata` object

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

## Changes

- **2021-01-17** `ba6166bb4c3d` — 1 info
  - endpoint deprecated
- **2020-08-12** `e96b35d97038` — 1 info
  - api path removed with deprecation

[Change history](https://skmtc.dev/dreamvo/apis/gilfoyle-server/changes/medias/:media_id/attachments/:key/delete.md)

---

[API](https://skmtc.dev/dreamvo/apis/gilfoyle-server.md) · [All operations](https://skmtc.dev/dreamvo/apis/gilfoyle-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dreamvo/gilfoyle-server/revisions/47e030153fc0/schema)
