> For the complete documentation index, see [llms.txt](https://rtkdocs.geodnet.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rtkdocs.geodnet.com/rtk-service/enterprise-rtk-api-list/user-management/update-account-connections.md). Agents can also search and read this documentation through its [MCP server](https://rtkdocs.geodnet.com/~gitbook/mcp).

# Update account connections

## Api Description

`POST`  <https://rtk.geodnet.com/api/v3/user/set/connections>

## **Request Body**

| Parameter   | Example                          | Type   | Required | Description                                               |
| ----------- | -------------------------------- | ------ | -------- | --------------------------------------------------------- |
| appId       | geodnet                          | String | Yes      | Application ID                                            |
| username    | geoduser                         | String | Yes      | username                                                  |
| connections | 1                                | Number | Yes      | Number of connections, must be greater than or equal to 1 |
| time        | 1718150400000                    | Number | Yes      | Current server timestamp in milliseconds                  |
| sign        | aa5161309638d773971cb968a6b35c5c | String | Yes      | Encrypted signature                                       |

## **Response Body**

| Parameter | Example | Type   | Description             |
| --------- | ------- | ------ | ----------------------- |
| code      | 1000    | Number | Status code             |
| msg       | OK      | String | Status code description |

## **cURL**

```sh
curl -X POST "https://rtk.geodnet.com/api/v3/user/set/connections" \
  -H "Content-Type: application/json" \
  -d '{
    "appId": "geodnet",
    "username": "geoduser",
    "connections": 1,
    "time": 1718150400000,
    "sign": "aa5161309638d773971cb968a6b35c5c"
  }'
```

## **Request Example**

```json
{
  "appId": "geodnet",
  "username": "geoduser",
  "connections": 1,
  "time": 1718150400000,
  "sign": "aa5161309638d773971cb968a6b35c5c"
}
```

## **Response**

```json
{
  "code": 1000,
  "msg": "OK"
}
```
