---
title: "应用版本回滚"
method: POST
path: "/v2/tenants/{tenant_name}/services/{service_alias}/rollback"
tags: ["v2"]
---

# 应用版本回滚

`POST /v2/tenants/{tenant_name}/services/{service_alias}/rollback`

## Request

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

service rollback

## Path parameters

- `tenant_name` string, required
- `service_alias` string, required

## Request body

- object
  - `deploy_version` string, required: 回滚到的版本号 in: body
  - `event_id` string, required: event_id in: body
  - `operator` string: 操作人 in: body

## Response `default`

统一返回格式

- CommandResponse (unresolved $ref)

---

[API](https://skmtc.dev/goodrain/apis/goodrain-cmd-api.md) - [All operations](https://skmtc.dev/goodrain/apis/goodrain-cmd-api/llms.txt) - [OpenAPI document](https://skmtc.dev/goodrain/apis/goodrain-cmd-api/revisions/8c773e222448?raw)
