# Tencent Cloud Bastion Host (DASB) API

> Tencent Cloud Bastion Host (DASB) API on Apizie: 63 endpoints (Add Device Group Members, Add User Group Members, Bind Device Account Password, Bind Device Account Private Key, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/cloud:tencent-dasb/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:tencent-dasb`
- Category: Cloud
- Status: byok
- Source: https://www.tencentcloud.com/document/api
- Page: https://apizie.tech/api/cloud/tencent-dasb
- OpenAPI: https://apizie.tech/api/cloud/tencent-dasb/openapi.json

Tencent Cloud API 3.0 for Bastion Host (DASB) (dasb). Every call is signed with TC3-HMAC-SHA256 using your SecretId and SecretKey.

## Endpoints

### Add Device Group Members
`POST https://apizie.tech/v1/cloud:tencent-dasb/add-device-group-members` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Id | integer | yes |  |
| MemberIdSet | array | yes |  |

### Add User Group Members
`POST https://apizie.tech/v1/cloud:tencent-dasb/add-user-group-members` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Id | integer | yes |  |
| MemberIdSet | array | yes |  |

### Bind Device Account Password
`POST https://apizie.tech/v1/cloud:tencent-dasb/bind-device-account-password` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Id | integer | yes |  |
| Password | string | yes |  |

### Bind Device Account Private Key
`POST https://apizie.tech/v1/cloud:tencent-dasb/bind-device-account-private-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Id | integer | yes |  |
| PrivateKey | string | yes |  |
| PrivateKeyPassword | string | no |  |

### Bind Device Resource
`POST https://apizie.tech/v1/cloud:tencent-dasb/bind-device-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DeviceIdSet | array | yes |  |
| ResourceId | string | no |  |
| DomainId | string | no |  |

### Create Acl
`POST https://apizie.tech/v1/cloud:tencent-dasb/create-acl` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Name | string | yes |  |
| AllowDiskRedirect | boolean | yes |  |
| AllowAnyAccount | boolean | yes |  |
| AllowClipFileUp | boolean | no |  |
| AllowClipFileDown | boolean | no |  |
| AllowClipTextUp | boolean | no |  |
| AllowClipTextDown | boolean | no |  |
| AllowFileUp | boolean | no |  |
| MaxFileUpSize | integer | no |  |
| AllowFileDown | boolean | no |  |
| MaxFileDownSize | integer | no |  |
| UserIdSet | array | no |  |
| UserGroupIdSet | array | no |  |
| DeviceIdSet | array | no |  |
| DeviceGroupIdSet | array | no |  |
| AccountSet | array | no |  |
| CmdTemplateIdSet | array | no |  |
| ACTemplateIdSet | array | no |  |
| AllowDiskFileUp | boolean | no |  |
| AllowDiskFileDown | boolean | no |  |
| AllowShellFileUp | boolean | no |  |
| AllowShellFileDown | boolean | no |  |
| AllowFileDel | boolean | no |  |
| ValidateFrom | string | no |  |
| ValidateTo | string | no |  |
| DepartmentId | string | no |  |
| AllowAccessCredential | boolean | no |  |
| AllowKeyboardLogger | boolean | no |  |

### Create Asset Sync Job
`POST https://apizie.tech/v1/cloud:tencent-dasb/create-asset-sync-job` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Category | integer | yes |  |

### Create Change Pwd Task
`POST https://apizie.tech/v1/cloud:tencent-dasb/create-change-pwd-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| TaskName | string | yes |  |
| DeviceIdSet | array | yes |  |
| AccountSet | array | yes |  |
| ChangeMethod | integer | yes |  |
| AuthGenerationStrategy | integer | yes |  |
| RunAccount | string | no |  |
| Password | string | no |  |
| PasswordLength | integer | no |  |
| SmallLetter | integer | no |  |
| BigLetter | integer | no |  |
| Digit | integer | no |  |
| Symbol | string | no |  |
| CompleteNotify | integer | no |  |
| NotifyEmails | array | no |  |
| FilePassword | string | no |  |
| DepartmentId | string | no |  |
| Type | integer | no |  |
| Period | integer | no |  |
| FirstTime | string | no |  |

### Create Cmd Template
`POST https://apizie.tech/v1/cloud:tencent-dasb/create-cmd-template` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Name | string | yes |  |
| CmdList | string | yes |  |
| Encoding | integer | no |  |

### Create Device Account
`POST https://apizie.tech/v1/cloud:tencent-dasb/create-device-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DeviceId | integer | yes |  |
| Account | string | yes |  |

### Create Device Group
`POST https://apizie.tech/v1/cloud:tencent-dasb/create-device-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Name | string | yes |  |
| DepartmentId | string | no |  |

### Create Resource
`POST https://apizie.tech/v1/cloud:tencent-dasb/create-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DeployRegion | string | yes |  |
| VpcId | string | yes |  |
| SubnetId | string | yes |  |
| ResourceEdition | string | yes |  |
| ResourceNode | integer | yes |  |
| TimeUnit | string | yes |  |
| TimeSpan | integer | yes |  |
| PayMode | integer | yes |  |
| AutoRenewFlag | integer | yes |  |
| DeployZone | string | no |  |
| Trial | integer | no |  |

### Create User
`POST https://apizie.tech/v1/cloud:tencent-dasb/create-user` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| UserName | string | yes |  |
| RealName | string | yes |  |
| Phone | string | no |  |
| Email | string | no |  |
| ValidateFrom | string | no |  |
| ValidateTo | string | no |  |
| GroupIdSet | array | no |  |
| AuthType | integer | no |  |
| ValidateTime | string | no |  |
| DepartmentId | string | no |  |

### Create User Group
`POST https://apizie.tech/v1/cloud:tencent-dasb/create-user-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Name | string | yes |  |
| DepartmentId | string | no |  |

### Delete Acls
`POST https://apizie.tech/v1/cloud:tencent-dasb/delete-acls` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | yes |  |

### Delete Change Pwd Task
`POST https://apizie.tech/v1/cloud:tencent-dasb/delete-change-pwd-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | yes |  |

### Delete Cmd Templates
`POST https://apizie.tech/v1/cloud:tencent-dasb/delete-cmd-templates` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | yes |  |

### Delete Device Accounts
`POST https://apizie.tech/v1/cloud:tencent-dasb/delete-device-accounts` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | yes |  |

### Delete Device Group Members
`POST https://apizie.tech/v1/cloud:tencent-dasb/delete-device-group-members` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Id | integer | yes |  |
| MemberIdSet | array | yes |  |

### Delete Device Groups
`POST https://apizie.tech/v1/cloud:tencent-dasb/delete-device-groups` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | yes |  |

### Delete Devices
`POST https://apizie.tech/v1/cloud:tencent-dasb/delete-devices` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | yes |  |

### Delete User Group Members
`POST https://apizie.tech/v1/cloud:tencent-dasb/delete-user-group-members` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Id | integer | yes |  |
| MemberIdSet | array | yes |  |

### Delete User Groups
`POST https://apizie.tech/v1/cloud:tencent-dasb/delete-user-groups` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | yes |  |

### Delete Users
`POST https://apizie.tech/v1/cloud:tencent-dasb/delete-users` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | yes |  |

### Deploy Resource
`POST https://apizie.tech/v1/cloud:tencent-dasb/deploy-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| ResourceId | string | yes |  |
| ApCode | string | yes |  |
| Zone | string | yes |  |
| VpcId | string | yes |  |
| SubnetId | string | yes |  |
| CidrBlock | string | yes |  |
| VpcName | string | no |  |
| VpcCidrBlock | string | no |  |
| SubnetName | string | no |  |
| CdcClusterId | string | no |  |

### Describe Acls
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-acls` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | no |  |
| Name | string | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| Exact | boolean | no |  |
| AuthorizedUserIdSet | array | no |  |
| AuthorizedDeviceIdSet | array | no |  |
| Status | integer | no |  |
| DepartmentId | string | no |  |
| Filters | array | no |  |

### Describe Asset Sync Status
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-asset-sync-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Category | integer | yes |  |

### Describe Change Pwd Task
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-change-pwd-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Filters | array | no |  |
| DepartmentId | string | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |

### Describe Change Pwd Task Detail
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-change-pwd-task-detail` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| OperationId | string | yes |  |
| DepartmentId | string | no |  |
| Filters | array | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |

### Describe Cmd Templates
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-cmd-templates` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | no |  |
| Name | string | no |  |
| Type | integer | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |

### Describe Dasb Image Ids
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-dasb-image-ids` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |

### Describe Device Accounts
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-device-accounts` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | no |  |
| Account | string | no |  |
| DeviceId | integer | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |

### Describe Device Group Members
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-device-group-members` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Bound | boolean | yes |  |
| Id | integer | no |  |
| IdSet | array | no |  |
| Name | string | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| Kind | integer | no |  |
| DepartmentId | string | no |  |
| TagFilters | array | no |  |

### Describe Device Groups
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-device-groups` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | no |  |
| Name | string | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| DepartmentId | string | no |  |

### Describe Devices
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-devices` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | no |  |
| Name | string | no |  |
| Ip | string | no |  |
| ApCodeSet | array | no |  |
| Kind | integer | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| AuthorizedUserIdSet | array | no |  |
| ResourceIdSet | array | no |  |
| KindSet | array | no |  |
| ManagedAccount | string | no |  |
| DepartmentId | string | no |  |
| TagFilters | array | no |  |
| Filters | array | no |  |

### Describe Domains
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-domains` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Limit | integer | no |  |
| Filters | array | no |  |
| Offset | integer | no |  |

### Describe Login Event
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-login-event` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| UserName | string | no |  |
| RealName | string | no |  |
| StartTime | string | no |  |
| EndTime | string | no |  |
| SourceIp | string | no |  |
| Entry | integer | no |  |
| Result | integer | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |

### Describe Operation Event
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-operation-event` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| UserName | string | no |  |
| RealName | string | no |  |
| StartTime | string | no |  |
| EndTime | string | no |  |
| SourceIp | string | no |  |
| Kind | integer | no |  |
| Result | integer | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |

### Describe Resources
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| ApCode | string | no |  |
| VpcId | string | no |  |
| ResourceIds | array | no |  |
| Limit | integer | no |  |
| Offset | integer | no |  |

### Describe User Group Members
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-user-group-members` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Id | integer | yes |  |
| Bound | boolean | yes |  |
| Name | string | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| DepartmentId | string | no |  |

### Describe User Groups
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-user-groups` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | no |  |
| Name | string | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| DepartmentId | string | no |  |

### Describe Users
`POST https://apizie.tech/v1/cloud:tencent-dasb/describe-users` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | no |  |
| Name | string | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| UserName | string | no |  |
| Phone | string | no |  |
| Email | string | no |  |
| AuthorizedDeviceIdSet | array | no |  |
| AuthTypeSet | array | no |  |
| DepartmentId | string | no |  |
| Filters | array | no |  |

### Import External Device
`POST https://apizie.tech/v1/cloud:tencent-dasb/import-external-device` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DeviceSet | array | yes |  |

### Modify Acl
`POST https://apizie.tech/v1/cloud:tencent-dasb/modify-acl` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Name | string | yes |  |
| AllowDiskRedirect | boolean | yes |  |
| AllowAnyAccount | boolean | yes |  |
| Id | integer | yes |  |
| AllowClipFileUp | boolean | no |  |
| AllowClipFileDown | boolean | no |  |
| AllowClipTextUp | boolean | no |  |
| AllowClipTextDown | boolean | no |  |
| AllowFileUp | boolean | no |  |
| MaxFileUpSize | integer | no |  |
| AllowFileDown | boolean | no |  |
| MaxFileDownSize | integer | no |  |
| UserIdSet | array | no |  |
| UserGroupIdSet | array | no |  |
| DeviceIdSet | array | no |  |
| DeviceGroupIdSet | array | no |  |
| AccountSet | array | no |  |
| CmdTemplateIdSet | array | no |  |
| ACTemplateIdSet | array | no |  |
| AllowDiskFileUp | boolean | no |  |
| AllowDiskFileDown | boolean | no |  |
| AllowShellFileUp | boolean | no |  |
| AllowShellFileDown | boolean | no |  |
| AllowFileDel | boolean | no |  |
| ValidateFrom | string | no |  |
| ValidateTo | string | no |  |
| DepartmentId | string | no |  |
| AllowAccessCredential | boolean | no |  |
| AllowKeyboardLogger | boolean | no |  |

### Modify Change Pwd Task
`POST https://apizie.tech/v1/cloud:tencent-dasb/modify-change-pwd-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| OperationId | string | yes |  |
| DeviceIdSet | array | yes |  |
| AccountSet | array | yes |  |
| ModifyType | integer | yes |  |
| ChangeMethod | integer | yes |  |
| AuthGenerationStrategy | integer | yes |  |
| TaskName | string | no |  |
| DepartmentId | string | no |  |
| RunAccount | string | no |  |
| Password | string | no |  |
| PasswordLength | integer | no |  |
| SmallLetter | integer | no |  |
| BigLetter | integer | no |  |
| Digit | integer | no |  |
| Symbol | string | no |  |
| CompleteNotify | integer | no |  |
| NotifyEmails | array | no |  |
| FilePassword | string | no |  |
| Type | integer | no |  |
| Period | integer | no |  |
| FirstTime | string | no |  |

### Modify Cmd Template
`POST https://apizie.tech/v1/cloud:tencent-dasb/modify-cmd-template` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Name | string | yes |  |
| CmdList | string | yes |  |
| Id | integer | yes |  |
| Encoding | integer | no |  |
| Type | integer | no |  |

### Modify Device
`POST https://apizie.tech/v1/cloud:tencent-dasb/modify-device` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Id | integer | yes |  |
| Port | integer | no |  |
| GroupIdSet | array | no |  |
| DepartmentId | string | no |  |
| DomainId | string | no |  |

### Modify Device Group
`POST https://apizie.tech/v1/cloud:tencent-dasb/modify-device-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Name | string | yes |  |
| Id | integer | yes |  |
| DepartmentId | string | no |  |

### Modify OAuth Setting
`POST https://apizie.tech/v1/cloud:tencent-dasb/modify-oauth-setting` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Enable | boolean | yes |  |
| AuthMethod | string | no |  |
| ClientId | string | no |  |
| ClientSecret | string | no |  |
| CodeUrl | string | no |  |
| TokenUrl | string | no |  |
| UserInfoUrl | string | no |  |
| Scopes | array | no |  |

### Modify Resource
`POST https://apizie.tech/v1/cloud:tencent-dasb/modify-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| ResourceId | string | yes |  |
| Status | string | no |  |
| ModuleSet | array | no |  |
| ResourceEdition | string | no |  |
| ResourceNode | integer | no |  |
| AutoRenewFlag | integer | no |  |
| PackageBandwidth | integer | no |  |
| PackageNode | integer | no |  |
| LogDelivery | integer | no |  |

### Modify User
`POST https://apizie.tech/v1/cloud:tencent-dasb/modify-user` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Id | integer | yes |  |
| RealName | string | yes |  |
| Phone | string | no |  |
| Email | string | no |  |
| ValidateFrom | string | no |  |
| ValidateTo | string | no |  |
| GroupIdSet | array | no |  |
| AuthType | integer | no |  |
| ValidateTime | string | no |  |
| DepartmentId | string | no |  |

### Modify User Group
`POST https://apizie.tech/v1/cloud:tencent-dasb/modify-user-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Id | integer | yes |  |
| Name | string | yes |  |
| DepartmentId | string | no |  |

### Reset Device Account Password
`POST https://apizie.tech/v1/cloud:tencent-dasb/reset-device-account-password` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | yes |  |

### Reset Device Account Private Key
`POST https://apizie.tech/v1/cloud:tencent-dasb/reset-device-account-private-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | yes |  |

### Reset User
`POST https://apizie.tech/v1/cloud:tencent-dasb/reset-user` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| IdSet | array | yes |  |

### Run Change Pwd Task
`POST https://apizie.tech/v1/cloud:tencent-dasb/run-change-pwd-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| OperationId | string | yes |  |
| DepartmentId | string | no |  |
| Details | array | no |  |

### Search Audit Log
`POST https://apizie.tech/v1/cloud:tencent-dasb/search-audit-log` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| StartTime | string | yes |  |
| EndTime | string | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |

### Search Command
`POST https://apizie.tech/v1/cloud:tencent-dasb/search-command` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| StartTime | string | yes |  |
| EndTime | string | no |  |
| UserName | string | no |  |
| RealName | string | no |  |
| InstanceId | string | no |  |
| DeviceName | string | no |  |
| PublicIp | string | no |  |
| PrivateIp | string | no |  |
| Cmd | string | no |  |
| Encoding | integer | no |  |
| AuditAction | array | no |  |
| Limit | integer | no |  |
| Offset | integer | no |  |

### Search Command By Sid
`POST https://apizie.tech/v1/cloud:tencent-dasb/search-command-by-sid` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Sid | string | yes |  |
| Cmd | string | no |  |
| Encoding | integer | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| AuditAction | array | no |  |

### Search File
`POST https://apizie.tech/v1/cloud:tencent-dasb/search-file` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| StartTime | string | yes |  |
| EndTime | string | no |  |
| UserName | string | no |  |
| RealName | string | no |  |
| InstanceId | string | no |  |
| DeviceName | string | no |  |
| PublicIp | string | no |  |
| PrivateIp | string | no |  |
| Method | array | no |  |
| FileName | string | no |  |
| AuditAction | array | no |  |
| Limit | integer | no |  |
| Offset | integer | no |  |

### Search File By Sid
`POST https://apizie.tech/v1/cloud:tencent-dasb/search-file-by-sid` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Sid | string | yes |  |
| AuditLog | boolean | yes |  |
| Limit | integer | no |  |
| FileName | string | no |  |
| Offset | integer | no |  |
| AuditAction | integer | no |  |
| TypeFilters | array | no |  |

### Search Session
`POST https://apizie.tech/v1/cloud:tencent-dasb/search-session` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| PrivateIp | string | no |  |
| PublicIp | string | no |  |
| UserName | string | no |  |
| Account | string | no |  |
| FromIp | string | no |  |
| StartTime | string | no |  |
| EndTime | string | no |  |
| Kind | integer | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| RealName | string | no |  |
| DeviceName | string | no |  |
| Status | integer | no |  |
| Id | string | no |  |

### Search Session Command
`POST https://apizie.tech/v1/cloud:tencent-dasb/search-session-command` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Cmd | string | yes |  |
| StartTime | string | yes |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| Encoding | integer | no |  |
| EndTime | string | no |  |

## Example
```
curl "https://apizie.tech/v1/cloud:tencent-dasb/add-device-group-members" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Tencent Cloud Bastion Host (DASB) API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:tencent-dasb/add-device-group-members with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Tencent Cloud Bastion Host (DASB) API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Tencent Cloud Bastion Host (DASB) itself also needs your own key from tencentcloudapi.com.

### Can AI agents use the Tencent Cloud Bastion Host (DASB) API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:tencent-dasb.

### What is the status of the Tencent Cloud Bastion Host (DASB) API?
Needs your own provider key (bring your own key)
