---
title: "Apply a release"
method: POST
path: "/api/projects/{projectId}/releases/apply"
tags: ["Release"]
---

# Apply a release

`POST /api/projects/{projectId}/releases/apply`

Apply a release to the project, creating or updating documents from the release files (v1 projects only).

## Path parameters

- `projectId` string, uuid, required

## Request body

- object
  - `releaseId` string, uuid, required — Release ID to apply
  - `publish` boolean — Whether to publish the applied documents immediately

## Response `200`

Release applied successfully

---

[API](https://skmtc.dev/gorules/apis/gorules-agent-api.md) · [All operations](https://skmtc.dev/gorules/apis/gorules-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gorules/gorules-agent-api/revisions/52c0773fcd80/schema)
