---
title: "AddClient"
method: POST
path: "/access/client"
tags: ["ZTA"]
---

# AddClient

`POST /access/client`

新增ZTA的client

## Request body

- MparamAddClient
  - `duration` integer, required — Port int `json:"port" form:"port" binding:"required"` // 443
  - `name` string, required
  - `peer_id` string, required
  - `resource_cid` string, required

## Response `200`

OK

- ControllerRes
  - `code` integer
  - `data` object
  - `message` string

---

[API](https://skmtc.dev/flowshield/apis/fullnode-api.md) · [All operations](https://skmtc.dev/flowshield/apis/fullnode-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flowshield/fullnode-api/revisions/9ba38b714762/schema)
