---
title: "Publishes the collection of Draft resources"
method: POST
path: "/projects/{id}/publish"
tags: ["Project"]
---

# Publishes the collection of Draft resources

`POST /projects/{id}/publish`

Use this endpoint to publish all the draft rules (rules in status `new`, `update` and `delete`) of this project.
Publishing rules allows to make them available to the redirection.io agent. Please note that draft changes can
also be used by "[test mode instances](https://redirection.io/documentation/user-documentation/managing-instances#activate-the-test-mode)" without publishing them.

Once the ruleset is published, [you can found the live rules in the manager](https://redirection.io/manager/).

## Path parameters

- `id` string, required

## Response `204`

Draft resources collection published

## Other responses

- `400` — Invalid input
- `403` — Forbidden

---

[API](https://skmtc.net/redirection/apis/redirection-io.md) · [All operations](https://skmtc.net/redirection/apis/redirection-io/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/redirection/redirection-io/versions/50d19e1f364a/schema)
