# Tencent Cloud TDSQL for MySQL API

> Tencent Cloud TDSQL for MySQL API on Apizie: 83 endpoints (Active Hour DCDBInstance, Associate Security Groups, Cancel Dcn Job, Cancel Online DDLJob, …) 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-dcdb/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

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

Tencent Cloud API 3.0 for TDSQL for MySQL (dcdb). Every call is signed with TC3-HMAC-SHA256 using your SecretId and SecretKey.

## Endpoints

### Active Hour DCDBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/active-hour-dcdbinstance` (byok)

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

### Associate Security Groups
`POST https://apizie.tech/v1/cloud:tencent-dcdb/associate-security-groups` (byok)

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

### Cancel Dcn Job
`POST https://apizie.tech/v1/cloud:tencent-dcdb/cancel-dcn-job` (byok)

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

### Cancel Online DDLJob
`POST https://apizie.tech/v1/cloud:tencent-dcdb/cancel-online-ddljob` (byok)

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

### Clone Account
`POST https://apizie.tech/v1/cloud:tencent-dcdb/clone-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| SrcUser | string | yes |  |
| SrcHost | string | yes |  |
| DstUser | string | yes |  |
| DstHost | string | yes |  |
| DstDesc | string | no |  |

### Close DBExtranet Access
`POST https://apizie.tech/v1/cloud:tencent-dcdb/close-dbextranet-access` (byok)

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

### Copy Account Privileges
`POST https://apizie.tech/v1/cloud:tencent-dcdb/copy-account-privileges` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| SrcUserName | string | yes |  |
| SrcHost | string | yes |  |
| DstUserName | string | yes |  |
| DstHost | string | yes |  |
| SrcReadOnly | string | no |  |
| DstReadOnly | string | no |  |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| UserName | string | yes |  |
| Host | string | yes |  |
| Password | string | no |  |
| ReadOnly | integer | no |  |
| Description | string | no |  |
| DelayThresh | integer | no |  |
| SlaveConst | integer | no |  |
| MaxUserConnections | integer | no |  |
| EncryptedPassword | string | no |  |

### Create DCDBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/create-dcdbinstance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Zones | array | yes |  |
| Period | integer | yes |  |
| ShardMemory | integer | yes |  |
| ShardStorage | integer | yes |  |
| ShardNodeCount | integer | yes |  |
| ShardCount | integer | yes |  |
| Count | integer | no |  |
| ProjectId | integer | no |  |
| VpcId | string | no |  |
| SubnetId | string | no |  |
| DbVersionId | string | no |  |
| AutoVoucher | boolean | no |  |
| VoucherIds | array | no |  |
| SecurityGroupId | string | no |  |
| InstanceName | string | no |  |
| Ipv6Flag | integer | no |  |
| ResourceTags | array | no |  |
| InitParams | array | no |  |
| DcnRegion | string | no |  |
| DcnInstanceId | string | no |  |
| AutoRenewFlag | integer | no |  |
| SecurityGroupIds | array | no |  |
| DcnSyncMode | integer | no |  |
| CpuType | string | no |  |

### Create Dedicated Cluster DCDBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/create-dedicated-cluster-dcdbinstance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| GoodsNum | integer | yes |  |
| ShardNum | integer | yes |  |
| ShardMemory | integer | yes |  |
| ShardStorage | integer | yes |  |
| ClusterId | string | yes |  |
| Zone | string | no |  |
| ProjectId | integer | no |  |
| Cpu | integer | no |  |
| VpcId | string | no |  |
| SubnetId | string | no |  |
| ShardMachine | string | no |  |
| ShardNodeNum | integer | no |  |
| ShardNodeCpu | integer | no |  |
| ShardNodeMemory | integer | no |  |
| ShardNodeStorage | integer | no |  |
| DbVersionId | string | no |  |
| SecurityGroupId | string | no |  |
| SecurityGroupIds | array | no |  |
| DcnInstanceId | string | no |  |
| DcnRegion | string | no |  |
| InstanceName | string | no |  |
| ResourceTags | array | no |  |
| Ipv6Flag | integer | no |  |
| Pid | integer | no |  |
| InitParams | array | no |  |
| MasterHostId | string | no |  |
| SlaveHostIds | array | no |  |
| RollbackInstanceId | string | no |  |
| RollbackTime | string | no |  |
| DcnSyncMode | integer | no |  |

### Create Hour DCDBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/create-hour-dcdbinstance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| ShardMemory | integer | yes |  |
| ShardStorage | integer | yes |  |
| ShardNodeCount | integer | yes |  |
| ShardCount | integer | yes |  |
| Count | integer | no |  |
| ProjectId | integer | no |  |
| VpcId | string | no |  |
| SubnetId | string | no |  |
| ShardCpu | integer | no |  |
| DbVersionId | string | no |  |
| Zones | array | no |  |
| SecurityGroupId | string | no |  |
| InstanceName | string | no |  |
| Ipv6Flag | integer | no |  |
| ResourceTags | array | no |  |
| DcnRegion | string | no |  |
| DcnInstanceId | string | no |  |
| InitParams | array | no |  |
| RollbackInstanceId | string | no |  |
| RollbackTime | string | no |  |
| SecurityGroupIds | array | no |  |
| DcnSyncMode | integer | no |  |
| CpuType | string | no |  |

### Create Online DDLJob
`POST https://apizie.tech/v1/cloud:tencent-dcdb/create-online-ddljob` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| Alter | string | yes |  |
| DbName | string | yes |  |
| Table | string | yes |  |
| User | string | no |  |
| Password | string | no |  |
| CriticalLoad | integer | no |  |
| CheckAutoInc | integer | no |  |
| MaxDelay | integer | no |  |
| UsePt | integer | no |  |
| StartTime | string | no |  |

### Create Tmp DCDBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/create-tmp-dcdbinstance` (byok)

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

### Delete Account
`POST https://apizie.tech/v1/cloud:tencent-dcdb/delete-account` (byok)

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

### Describe Account Privileges
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-account-privileges` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| UserName | string | yes |  |
| Host | string | yes |  |
| DbName | string | yes |  |
| Type | string | no |  |
| Object | string | no |  |
| ColName | string | no |  |

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

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

### Describe Backup Configs
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-backup-configs` (byok)

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

### Describe Backup Files
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-backup-files` (byok)

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

### Describe DBEncrypt Attributes
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dbencrypt-attributes` (byok)

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

### Describe DBLog Files
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dblog-files` (byok)

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

### Describe DBParameters
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dbparameters` (byok)

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

### Describe DBSecurity Groups
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dbsecurity-groups` (byok)

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

### Describe DBSlow Logs
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dbslow-logs` (byok)

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

### Describe DBSync Mode
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dbsync-mode` (byok)

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

### Describe DBTmp Instances
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dbtmp-instances` (byok)

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

### Describe DCDBBinlog Time
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dcdbbinlog-time` (byok)

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

### Describe DCDBInstance Detail
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dcdbinstance-detail` (byok)

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

### Describe DCDBInstance Node Info
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dcdbinstance-node-info` (byok)

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

### Describe DCDBInstances
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dcdbinstances` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceIds | array | no |  |
| SearchName | string | no |  |
| SearchKey | string | no |  |
| ProjectIds | array | no |  |
| IsFilterVpc | boolean | no |  |
| VpcId | string | no |  |
| SubnetId | string | no |  |
| OrderBy | string | no |  |
| OrderByType | string | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| ExclusterType | integer | no |  |
| IsFilterExcluster | boolean | no |  |
| ExclusterIds | array | no |  |
| TagKeys | array | no |  |
| Tags | array | no |  |
| FilterInstanceType | string | no |  |
| Status | array | no |  |
| ExcludeStatus | array | no |  |

### Describe DCDBPrice
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dcdbprice` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Zone | string | yes |  |
| Count | integer | yes |  |
| Period | integer | yes |  |
| ShardNodeCount | integer | yes |  |
| ShardMemory | integer | yes |  |
| ShardStorage | integer | yes |  |
| ShardCount | integer | yes |  |
| Paymode | string | no |  |
| AmountUnit | string | no |  |
| CpuType | string | no |  |

### Describe DCDBRenewal Price
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dcdbrenewal-price` (byok)

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

### Describe DCDBSale Info
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dcdbsale-info` (byok)

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

### Describe DCDBShards
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dcdbshards` (byok)

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

### Describe DCDBUpgrade Price
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dcdbupgrade-price` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| UpgradeType | string | yes |  |
| AddShardConfig | object | no |  |
| ExpandShardConfig | object | no |  |
| SplitShardConfig | object | no |  |
| AmountUnit | string | no |  |

### Describe Database Objects
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-database-objects` (byok)

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

### Describe Database Table
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-database-table` (byok)

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

### Describe Databases
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-databases` (byok)

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

### Describe Dcn Detail
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-dcn-detail` (byok)

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

### Describe File Download Url
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-file-download-url` (byok)

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

### Describe Flow
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-flow` (byok)

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

### Describe Instance SSLAttributes
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-instance-sslattributes` (byok)

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

### Describe Log File Retention Period
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-log-file-retention-period` (byok)

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

### Describe Online DDLJob
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-online-ddljob` (byok)

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

### Describe Orders
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-orders` (byok)

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

### Describe Process List
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-process-list` (byok)

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

### Describe Project Security Groups
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-project-security-groups` (byok)

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

### Describe Projects
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-projects` (byok)

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

### Describe Shard Spec
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-shard-spec` (byok)

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

### Describe User Tasks
`POST https://apizie.tech/v1/cloud:tencent-dcdb/describe-user-tasks` (byok)

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

### Destroy DCDBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/destroy-dcdbinstance` (byok)

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

### Destroy Hour DCDBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/destroy-hour-dcdbinstance` (byok)

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

### Disassociate Security Groups
`POST https://apizie.tech/v1/cloud:tencent-dcdb/disassociate-security-groups` (byok)

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

### Flush Binlog
`POST https://apizie.tech/v1/cloud:tencent-dcdb/flush-binlog` (byok)

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

### Grant Account Privileges
`POST https://apizie.tech/v1/cloud:tencent-dcdb/grant-account-privileges` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| UserName | string | yes |  |
| Host | string | yes |  |
| DbName | string | yes |  |
| Privileges | array | yes |  |
| Type | string | no |  |
| Object | string | no |  |
| ColName | string | no |  |

### Init DCDBInstances
`POST https://apizie.tech/v1/cloud:tencent-dcdb/init-dcdbinstances` (byok)

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

### Isolate DCDBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/isolate-dcdbinstance` (byok)

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

### Isolate Dedicated DBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/isolate-dedicated-dbinstance` (byok)

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

### Isolate Hour DCDBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/isolate-hour-dcdbinstance` (byok)

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

### Kill Session
`POST https://apizie.tech/v1/cloud:tencent-dcdb/kill-session` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| SessionId | array | yes |  |
| ShardId | string | no |  |
| ShardSerialId | string | no |  |
| NodeId | string | no |  |

### Modify Account Config
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-account-config` (byok)

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

### Modify Account Description
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-account-description` (byok)

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

### Modify Account Privileges
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-account-privileges` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| Accounts | array | yes |  |
| GlobalPrivileges | array | no |  |
| DatabasePrivileges | array | no |  |
| TablePrivileges | array | no |  |
| ColumnPrivileges | array | no |  |
| ViewPrivileges | array | no |  |

### Modify Backup Configs
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-backup-configs` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| Days | integer | no |  |
| StartBackupTime | string | no |  |
| EndBackupTime | string | no |  |
| WeekDays | array | no |  |
| ArchiveDays | integer | no |  |
| BackupConfigSet | array | no |  |

### Modify DBEncrypt Attributes
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-dbencrypt-attributes` (byok)

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

### Modify DBInstance Name
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-dbinstance-name` (byok)

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

### Modify DBInstance Security Groups
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-dbinstance-security-groups` (byok)

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

### Modify DBInstances Project
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-dbinstances-project` (byok)

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

### Modify DBParameters
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-dbparameters` (byok)

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

### Modify DBSync Mode
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-dbsync-mode` (byok)

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

### Modify Instance Network
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-instance-network` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| VpcId | string | yes |  |
| SubnetId | string | yes |  |
| Vip | string | no |  |
| Vipv6 | string | no |  |
| VipReleaseDelay | integer | no |  |

### Modify Instance Protected Property
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-instance-protected-property` (byok)

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

### Modify Instance SSLAttributes
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-instance-sslattributes` (byok)

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

### Modify Instance Vip
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-instance-vip` (byok)

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

### Modify Instance Vport
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-instance-vport` (byok)

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

### Modify Real Server Access Strategy
`POST https://apizie.tech/v1/cloud:tencent-dcdb/modify-real-server-access-strategy` (byok)

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

### Open DBExtranet Access
`POST https://apizie.tech/v1/cloud:tencent-dcdb/open-dbextranet-access` (byok)

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

### Renew DCDBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/renew-dcdbinstance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| Period | integer | yes |  |
| AutoVoucher | boolean | no |  |
| VoucherIds | array | no |  |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| UserName | string | yes |  |
| Host | string | yes |  |
| Password | string | no |  |
| EncryptedPassword | string | no |  |

### Switch DBInstance HA
`POST https://apizie.tech/v1/cloud:tencent-dcdb/switch-dbinstance-ha` (byok)

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

### Terminate Dedicated DBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/terminate-dedicated-dbinstance` (byok)

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

### Upgrade DCDBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/upgrade-dcdbinstance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| UpgradeType | string | yes |  |
| AddShardConfig | object | no |  |
| ExpandShardConfig | object | no |  |
| SplitShardConfig | object | no |  |
| AutoVoucher | boolean | no |  |
| VoucherIds | array | no |  |
| Zones | array | no |  |
| SwitchStartTime | string | no |  |
| SwitchEndTime | string | no |  |
| SwitchAutoRetry | integer | no |  |
| SwitchInterval | integer | no |  |

### Upgrade Dedicated DCDBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/upgrade-dedicated-dcdbinstance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| UpgradeType | string | yes |  |
| InstanceId | string | yes |  |
| AddShardConfig | object | no |  |
| ExpandShardConfig | object | no |  |
| SplitShardConfig | object | no |  |
| SwitchAutoRetry | integer | no |  |
| SwitchStartTime | string | no |  |
| SwitchEndTime | string | no |  |
| SwitchInterval | integer | no |  |

### Upgrade Hour DCDBInstance
`POST https://apizie.tech/v1/cloud:tencent-dcdb/upgrade-hour-dcdbinstance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| UpgradeType | string | yes |  |
| AddShardConfig | object | no |  |
| ExpandShardConfig | object | no |  |
| SplitShardConfig | object | no |  |
| SwitchStartTime | string | no |  |
| SwitchEndTime | string | no |  |
| SwitchAutoRetry | integer | no |  |
| Zones | array | no |  |
| SwitchInterval | integer | no |  |

## Example
```
curl "https://apizie.tech/v1/cloud:tencent-dcdb/active-hour-dcdbinstance" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Tencent Cloud TDSQL for MySQL API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:tencent-dcdb/active-hour-dcdbinstance with the header x-api-key. Every endpoint returns { project, data, timestamp }.

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

### Can AI agents use the Tencent Cloud TDSQL for MySQL 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-dcdb.

### What is the status of the Tencent Cloud TDSQL for MySQL API?
Needs your own provider key (bring your own key)
