---
title: "Promote contract stage"
method: POST
path: "/groups/{groupId}/artifacts/{artifactId}/contract/promote"
tags: ["Contracts"]
---

# Promote contract stage

`POST /groups/{groupId}/artifacts/{artifactId}/contract/promote`

## Request

- The document declares no server URL.
- Auth: none declared

Promotes a contract to the next deployment stage (DEV -> STAGE -> PROD).

## Request body

- object
  - `contractId` string, required
  - `targetStage` 'DEV' | 'STAGE' | 'PROD', required

## Response `200`

The contract was promoted.

- object
  - `stage` string

## Other responses

- `400`: Common response for all operations that can return a `400` error.
- `404`: Common response for all operations that can return a `404` error.
- `500`: Common response for all operations that can fail with an unexpected server error.

## Changes

- **2026-10-31** `ff9684af2aad`: 15 info
  - added the optional property `ruleViolation/causes/items/code` to the response with the `400` status
  - added the optional property `ruleViolation/causes/items/code` to the response with the `404` status
  - added the optional property `ruleViolation/causes/items/code` to the response with the `500` status
  - added the optional property `ruleViolation/causes/items/direction` to the response with the `400` status
  - …11 more
- **2026-10-29** `f17f5df4e79c`: 3 info
  - added the optional property `ruleViolation` to the response with the `400` status
  - added the optional property `ruleViolation` to the response with the `404` status
  - added the optional property `ruleViolation` to the response with the `500` status
- **2026-05-18** `1bfe59d9f670`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/apicurio/apis/apicurio-registry-api-v3/changes/groups/:groupId/artifacts/:artifactId/contract/promote/post.md)

---

[API](https://skmtc.dev/apicurio/apis/apicurio-registry-api-v3.md) - [All operations](https://skmtc.dev/apicurio/apis/apicurio-registry-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/apicurio/apis/apicurio-registry-api-v3/revisions/ff9684af2aad?raw)
