---
title: "Assign or change the brand (department) of an audio file"
method: PUT
path: "/v1/callcenter/audiofiles/department"
tags: ["CallCenter"]
---

# Assign or change the brand (department) of an audio file

`PUT /v1/callcenter/audiofiles/department`

## Request

- Base URL: `https://api.infoset.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infoset.app/v1/callcenter/audiofiles/department`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/infoset/apis/infoset-rest-api/docs/v1/callcenter/audiofiles/department/put.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `folderName` string
- `fileName` string
- `departmentId` integer
- `departmentIds` string

## Response `200`

OK

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `422`: Unprocessable Content

---

[API](https://skmtc.dev/infoset/apis/infoset-rest-api.md) - [All operations](https://skmtc.dev/infoset/apis/infoset-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/infoset/apis/infoset-rest-api/revisions/709c8123f593?raw)
