---
title: "Set Folder Boundary"
method: POST
path: "/api/folders/{folder_id}/boundaries"
tags: ["folder-boundaries"]
---

# Set Folder Boundary

`POST /api/folders/{folder_id}/boundaries`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/folders/{folder_id}/boundaries`
- Auth: none declared

Set a boundary that binds every agent in this folder and below.

## Path parameters

- `folder_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- SetFolderBoundaryRequest
  - `statement` string, required
  - `binding` object, nullable
  - `kind` string, nullable

## Response `201`

Successful Response

- FolderBoundaryView
  - `id` string, uuid, required
  - `folder_id` string, uuid, required
  - `kind` string, required
  - `statement` string, required
  - `binding` object, nullable, required
  - `enforcement` string, required
  - `status` string, required
  - `created_by` string, uuid, nullable, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/5387b4ded614?raw)
