---
title: "Post release config for a given grant"
method: POST
path: "/api/release-config"
---

# Post release config for a given grant

`POST /api/release-config`

Submits a release configuration for a specific grant and version, including a list of files.

## Headers

- `x-cdp-request-id` string

## Request body

- PostReleaseConfigRequest
  - `grant` string, required — The name of the grant.
  - `version` string, required — The version string.
  - `files` string[], required — A list of files included in the release.
  - `status` 'draft' | 'active' — The status of the release.
  - `user` string, required — The user performing the release.

## Response `202`

Accepted - Release configuration received and processed.

## Other responses

- `204` — No Content - Release configuration received but no action taken (e.g., version already exists).
- `400` — Bad Request - Validation error.
- `401` — Unauthorized - Invalid or missing authentication credentials.

---

[API](https://skmtc.net/defra/apis/grants-config-broker-api-2.md) · [All operations](https://skmtc.net/defra/apis/grants-config-broker-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/defra/grants-config-broker-api-2/versions/81efb0cb4466/schema)
