---
title: "Replace the allowed sync origins"
method: PUT
path: "/api/v1/manage/project/origins"
tags: ["Workspace"]
---

# Replace the allowed sync origins

`PUT /api/v1/manage/project/origins`

## Request

- Base URL: `https://fillo.so`
- URL: `https://fillo.so/api/v1/manage/project/origins`
- Auth: HTTP bearer

Replace the whole allow-list. An empty array means any origin may stage with the publishable key, which widens who can act — outward-facing (Tier B). Every entry must be a bare http(s) origin, so a path, query, or credential in the value is a 400. Scope: workspace:manage.

## Request body

- object
  - `origins` string[], required

## Response `200`

The stored allow-list.

- object
  - `origins` string[], required

## Other responses

- `400`: Invalid request (e.g. a body on a GET/DELETE, or a missing required query parameter).
- `401`: Missing, malformed, unknown, revoked, or expired key.
- `403`: The key is valid but lacks the required scope.
- `404`: No such resource in this project (returned instead of 403 for ids in other projects).
- `413`: The request body exceeded the 16 KiB management cap.
- `429`: Per-key (120/min), per-workspace (240/min), or per-IP (300/min) rate limit exceeded. Retry after the Retry-After header.

---

[API](https://skmtc.dev/fillo/apis/fillo-management-api.md) · [All operations](https://skmtc.dev/fillo/apis/fillo-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fillo/apis/fillo-management-api/revisions/867f943f04f5?raw)
