---
title: "创建账号认证信息"
method: POST
path: "/api/v1/config/accountauth"
tags: ["Config配置中心"]
---

# 创建账号认证信息

`POST /api/v1/config/accountauth`

## Request body

- ModelAccountAuth
  - `alias` string — 别名
  - `createdAt` UtilHTime
    - `time.Time` string
  - `host` string — IP地址
  - `id` integer
  - `name` string — 用户名
  - `password` string — 密码(加密存储)
  - `port` integer — 端口
  - `remark` string — 备注
  - `type` integer — 类型
  - `updatedAt` UtilHTime
    - `time.Time` string

## Response `200`

OK

---

[API](https://skmtc.net/opsre/apis/devops.md) · [All operations](https://skmtc.net/opsre/apis/devops/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opsre/devops/versions/25cac8835c4c/schema)
