---
title: "Update a media"
method: PATCH
path: "/medias/{id}"
tags: ["Medias"]
---

# Update a media

`PATCH /medias/{id}`

Update an existing media

## Path parameters

- `id` string, required

## Request body

- ApiUpdateMedia
  - `title` string, required

## Response `200`

OK

- object
  - `code` integer
  - `data` object
    - `created_at` string
    - `id` string
    - `status` string
    - `title` string
    - `updated_at` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2020-10-08** `c0f9de0ce52f` — 1 info
  - endpoint added
- **2020-08-12** `e96b35d97038` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/dreamvo/apis/gilfoyle-server/changes/medias/:id/patch.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/24bea8cc68e5/schema)
