---
title: "Assign a report to a folder"
method: POST
path: "/datainsights/v1.1/folders/{id}/reports"
tags: ["Folders"]
---

# Assign a report to a folder

`POST /datainsights/v1.1/folders/{id}/reports`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

Assing a report to a folder in order to organize your them.

## Path parameters

- `id` integer, required

## Headers

- `X-PROPERTY-ID` integer, required

## Request body

- ReportId
  - `report_id` integer, required: Report Id

## Response `201`

Created

- Folder
  - `id` integer, required: Folder Id
  - `name` string, required: Folder Name
  - `description` string: Folder description
  - `parent_id` integer, nullable, required: Id of the Parent Folder

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/cloudbeds/apis/data-insights-api.md) - [All operations](https://skmtc.dev/cloudbeds/apis/data-insights-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudbeds/apis/data-insights-api/revisions/0a16807149c2?raw)
