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

# Update audio media

`PATCH /medias/audio/{id}`

## Request

- Base URL: `https://api.fanheroapi.com`
- URL: `https://api.fanheroapi.com/medias/audio/{id}`
- Auth: API key in header `apiKey`

## Path parameters

- `id` string, required

## Headers

- `channel` string, required
- `organization` string, required

## Request body

- UpdateMediaAudioInput
  - `filename` string, nullable, required: File name
  - `upload` string, nullable, required: Upload ID
  - `status` string, nullable, required: The current status of the media content. Enum
  - `baseUrl` string, nullable, required: Base URL
  - `duration` number, nullable, required: Duration of audio content
  - `mp3Path` string, nullable, required: The URL of the audio file

## Response `200`

Media updated.

---

[API](https://skmtc.dev/fanhero/apis/headless-cms-endpoints.md) - [All operations](https://skmtc.dev/fanhero/apis/headless-cms-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/fanhero/apis/headless-cms-endpoints/revisions/fb8d50c05ee6?raw)
