Updates the metadata of a specified database.
Operation description
Before you call this operation, make sure that you understand the billing methods and pricing of Data Transmission Service dedicated resource groups and elastic reserved computing resources.
Try it now
Test
RAM authorization
Request syntax
PUT /api/v1/mms/datasources/{sourceId}/dbs/{dbId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| sourceId |
integer |
Yes |
The ID of the data source. |
2000014 |
| dbId |
integer |
Yes |
The ID of the database. |
2 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| dstProjectName |
string |
No |
The name of the destination MaxCompute project. |
dst_project_name |
| dstName |
string |
No |
The name of the destination schema in MaxCompute. |
default |
| status |
string |
No |
The migration status. |
INIT |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| requestId |
string |
The ID of the request. |
0b87b7e716665825896565060e87a4 |
| data |
integer |
The returned result. |
success |
Examples
Success response
JSON format
{
"requestId": "0b87b7e716665825896565060e87a4",
"data": 0
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.