---
title: "Assign List To Folder"
method: PUT
path: "/lists/folders/assignments/{audience_id}"
tags: ["Lists"]
---

# Assign List To Folder

`PUT /lists/folders/assignments/{audience_id}`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/lists/folders/assignments/{audience_id}`
- Auth: HTTP bearer

File one list into a folder, or out of every folder. FREE.

Requires WRITE access to the list, as in the app. `folder_id` null unfiles
it.

## Path parameters

- `audience_id` integer, required

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Request body

- ListFolderAssignRequest: File one list into a folder.
  - `folder_id` string, uuid, nullable: The folder. Null takes the list OUT of every folder.

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/2e7cfa0ca921?raw)
