---
title: "应用更新"
method: PUT
path: "/v2/tenants/{tenant_name}/services/{service_alias}"
tags: ["v2"]
---

# 应用更新

`PUT /v2/tenants/{tenant_name}/services/{service_alias}`

update service

## Path parameters

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

## Request body

- object
  - `container_cmd` string — 容器启动命令 in: body
  - `container_memory` integer — 容器最大内存 in: body
  - `image_name` string — 镜像名称 in: body

## Response `default`

统一返回格式

- CommandResponse — unresolved $ref

---

[API](https://skmtc.net/goodrain/apis/untitled-api.md) · [All operations](https://skmtc.net/goodrain/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/goodrain/untitled-api/revisions/8c773e222448/schema)
