---
title: "升级应用"
method: POST
path: "/v2/tenants/{tenant_name}/services/{service_alias}/upgrade"
tags: ["v2"]
---

# 升级应用

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

## Request

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

upgrade service

## Path parameters

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

## Request body

- object
  - `deploy_version` integer, required: 版本号 in: body
  - `event_id` string, required: the event id in: body
  - `operator` integer: 操作人员 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)
