| Field ID | Name | Type | Description |
|---|---|---|---|
| 1 | name | TYPE_STRING | 主机名 |
| 2 | user_id | TYPE_INT32 | 帐号ID |
| 3 | account | TYPE_STRING | 帐号名 |
| 4 | access_password | TYPE_STRING | 访问密码 |
| 5 | code | TYPE_STRING | 手机验证码 |
| 6 | mobile | TYPE_STRING | 手机号 |
| Field ID | Name | Type | Description |
|---|---|---|---|
| 1 | remote_id | TYPE_INT32 | 主机id |
| 2 | mac | TYPE_STRING | |
| 3 | license_code | TYPE_STRING | 授权码 |
| 4 | owner_id | TYPE_INT32 | 用户id |
| 5 | license | TYPE_MESSAGE |
{
"name": "string",
"user_id": 0,
"account": "string",
"access_password": "string",
"code": "string",
"mobile": "string"
}curl --location --request POST '/elastic-desktop' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"user_id": 0,
"account": "string",
"access_password": "string",
"code": "string",
"mobile": "string"
}'{
"remote_id": 0,
"mac": "string",
"license_code": "string",
"owner_id": 0,
"license": {
"code": "string",
"key": "string",
"user_id": 0,
"remote_id": 0,
"password": "string"
}
}