---
title: "Cut Release"
method: POST
path: "/admin/managed-resources/source/releases"
tags: ["admin", "admin:managed-resources"]
---

# Cut Release

`POST /admin/managed-resources/source/releases`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/admin/managed-resources/source/releases`
- Auth: API key in cookie `fastapiusersauth`

Tag the source repository's base branch HEAD as a new release.

## Request body

- ManagedReleaseCreate: Cut a release tag at the HEAD of the source repository's base branch.
  - `tag` string, required
  - `commit_sha` string, nullable: The commit the caller reviewed. When set, the release is refused if the base branch has moved past it.

## Response `201`

Successful Response

- GitTagInfo: Git tag information for repository management.
  - `name` string, required: Tag name
  - `commit_sha` string, required: SHA of the commit the tag points to (SHA-1 or SHA-256)
  - `date` string, required: Tag date in ISO format. The provider's tag date when it has one, otherwise the tagged commit's date.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tracecat/apis/tracecat-api.md) - [All operations](https://skmtc.dev/tracecat/apis/tracecat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tracecat/apis/tracecat-api/revisions/2efdda25045f?raw)
