---
title: "Save Protected Paths"
method: PUT
path: "/api/projects/{project_id}/protected-paths"
---

# Save Protected Paths

`PUT /api/projects/{project_id}/protected-paths`

## Request

- Base URL: `https://app.tin.computer` (the document declares no server; this is the origin it was published from)
- URL: `https://app.tin.computer/api/projects/{project_id}/protected-paths`
- Auth: HTTP bearer

Replace the project's protected pages. /sign-in, /sign-up and /auth-complete stay.

## Path parameters

- `project_id` string, uuid, required

## Request body

- ProtectedPaths: The project's protected pages, saved over the revision the caller read.
  - `request_id` string, uuid, required
  - `expected_revision` integer, required
  - `paths` string[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tin/apis/tin-lite-switchboard.md) · [All operations](https://skmtc.dev/tin/apis/tin-lite-switchboard/llms.txt) · [OpenAPI document](https://skmtc.dev/tin/apis/tin-lite-switchboard/revisions/c800ca3406f4?raw)
