---
title: "安装agent"
method: POST
path: "/apv/v2/agent/install/pwdinstall"
tags: ["agent"]
---

# 安装agent

`POST /apv/v2/agent/install/pwdinstall`

install agent by pwd

## Request body

- UtilPwdInstallParams
  - `cluster_id` integer
  - `cluster_type` string
  - `cmd` string
  - `group` string
  - `host` string
  - `password` string
  - `port` string
  - `role` string
  - `user` 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)
