---
title: "重命名组"
method: POST
path: "/api/v2/agent/install/hostgroup_rename"
tags: ["agent"]
---

# 重命名组

`POST /api/v2/agent/install/hostgroup_rename`

rename group name

## Request body

- ImplHostGroupRenameParam
  - `new` string
  - `old` string

## Response `200`

{"msg":"ok","code":0,"data":null}

- string

---

[API](https://skmtc.dev/dtstack/apis/maxtrix.md) · [All operations](https://skmtc.dev/dtstack/apis/maxtrix/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dtstack/maxtrix/revisions/c389ef3ba143/schema)
