---
title: "Update an upgrade step"
method: PATCH
path: "/organization/{organization_id}/upgrade-pipeline/steps/{step_id}"
tags: ["Upgrade_pipeline"]
---

# Update an upgrade step

`PATCH /organization/{organization_id}/upgrade-pipeline/steps/{step_id}`

> This endpoint **may be changed or removed at any time**. Don't use it in production environments.

Customer must have write access to both source and destination projects (read-only is not enough). Both services must belong to the organization in the URL (and thus the same organization). The new auto validation delay in days must be greater than zero.

## Path parameters

- `organization_id` string, required
- `step_id` '550e8400-e29b-41d4-a716-446655440000', required

## Request body

- UpgradePipelineStepUpdateRequestBody — UpgradePipelineStepUpdateRequestBody
  - `auto_validation_delay_days` integer — Days before automatic validation

## Response `200`

Response

- UpgradePipelineStepUpdateResponse — UpgradePipelineStepUpdateResponse
  - `auto_validation_delay_days` integer, required — Days before automatic validation
  - `destination_project_name` string, required — Destination project name
  - `destination_service_name` string, required — Destination service name
  - `last_validation` object, required — Last validation information for an upgrade step.
    - `comment` string, required — Validation comment
    - `validated_at` string, required — When the validation was created
    - `validated_by_user` string, required — User who created the validation (null for auto-validation)
  - `source_project_name` string, required — Source project name
  - `source_service_name` string, required — Source service name
  - `step_id` string, required — Step ID

## Other responses

- `404` — Upgrade step not found

---

[API](https://skmtc.dev/aiven/apis/aiven-api-documentation.md) · [All operations](https://skmtc.dev/aiven/apis/aiven-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aiven/aiven-api-documentation/revisions/6577fedfd4a2/schema)
