---
title: "Attach logo"
method: POST
path: "/1/vod/channel/{channel}/media/{media}/logo/{logo}"
tags: ["V2 > Media"]
---

# Attach logo

`POST /1/vod/channel/{channel}/media/{media}/logo/{logo}`

## Request

- Base URL: `https://api.infomaniak.com`
- URL: `https://api.infomaniak.com/1/vod/channel/{channel}/media/{media}/logo/{logo}`
- Auth: none declared

attach logo to the media

## Path parameters

- `channel` integer, required
- `media` integer, required
- `logo` integer, required

## Request body

- object
  - `folder_id` integer, required: <br/>This field must exist on the `folders` database in the `id` column.
  - `category_id` integer: <br/>This field must exist on the `categories` database in the `id` column.
  - `language_id` integer: <br/>This field must exist on the `languages` database in the `id` column.
  - `name` string, required: <br/>This field must not exist on the `medias` database in the `name` column.
  - `description` string
  - `validated` boolean
  - `published` boolean
  - `password` string
  - `streams` string: <br/>This field must be present and not empty only if any of the following fields are present:`collected_at`
  - `shot_boundaries` string[]
  - `duration` number: <br/>This field must be present and not empty only if any of the following fields are present:`collected_at`
  - `client` '"cli"' | '"http"', required
  - `http_ip` string, ip: <br/>This field must be present and not empty if the `client` field is equal to any of the following:`http`
  - `http_user_agent` string: <br/>This field must be present and not empty if the `client` field is equal to any of the following:`http`
  - `cli_user` string: <br/>This field must be present and not empty if the `client` field is equal to any of the following:`cli`
  - `cli_hostname` string: <br/>This field must be present and not empty if the `client` field is equal to any of the following:`cli`
  - `debug` boolean

## Response `200`

Default response

- object
  - `result` 'success' | 'error' | 'asynchronous', required: Result of the HTTP request
  - `data` boolean

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) - [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) - [OpenAPI document](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/revisions/96ca7c8a0545?raw)
