Synchronizes the metadata of a database.
Operation description
Only database instances whose control mode is Security Collaboration support this operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:SyncDatabaseMeta |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The ID of the tenant. Note
To view the tenant ID, hover over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see Manage DMS tenants. |
-1 |
| DbId |
string |
Yes |
The ID of the database. |
123 |
| Logic |
boolean |
No |
Whether the database is a logical database. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
A99CD576-1E18-4E86-931E-C3CCE56DC030 |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message. |
UnknownError |
| Success |
boolean |
Whether the request was successful. |
true |
Examples
Success response
JSON format
{
"RequestId": "A99CD576-1E18-4E86-931E-C3CCE56DC030",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.