---
title: "更新发布信息"
method: PUT
path: "/v3/agent/{agent_id}/publish-info"
tags: ["发布相关"]
---

# 更新发布信息

`PUT /v3/agent/{agent_id}/publish-info`

更新发布信息

## Path parameters

- `agent_id` string, required

## Request body

- ReleasereqUpdatePublishInfoReq
  - `category_ids` string[] — 分类IDs
  - `description` string — 发布描述
  - `pms_control` PmsvoPmsControlObjS
    - `app_account_ids` string[] — 应用账号ID列表
    - `department_ids` string[] — 部门ID列表
    - `role_ids` string[] — 角色ID列表
    - `user_group_ids` string[] — 用户组ID列表
    - `user_ids` string[] — 用户ID列表
  - `publish_to_bes` CdaenumPublishToBe[] — 发布为什么 ["skill_agent", "api_agent", "web_sdk_agent", "agent_tpl"]
  - `publish_to_where` DaenumPublishToWhere[] — 发布到的目标 ["square"]

## Response `200`

更新发布信息成功

- object

## Other responses

- `400` — 失败
- `401` — 失败
- `403` — 失败
- `404` — 失败
- `500` — 失败

---

[API](https://skmtc.net/kweaver-ai/apis/agent-factory-api.md) · [All operations](https://skmtc.net/kweaver-ai/apis/agent-factory-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kweaver-ai/agent-factory-api/revisions/94c8acc695b9/schema)
