UpdateParameter
Updates a parameter. This is an incremental update that modifies only the specified fields.
Operation description
DataWorks Professional Edition or higher is required.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
The ID of the parameter to be updated. You can obtain the ID from the |
12345 |
| Properties |
array<object> |
No |
The property configurations of the parameter values to be updated. You can omit this parameter if you only update the owner or description. If you specify |
|
|
object |
No |
|||
| EnvType |
string |
No |
The project environment.
Valid values:
|
Prod |
| Value |
string |
No |
The parameter value. |
value123 |
| Owner |
string |
No |
The account ID of the owner. |
123456789 |
| Description |
string |
No |
The description. |
This is a test parameter |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Version |
integer |
The version number of the parameter generated after the update. You can query this version by calling the ListParameterVersions operation. |
2 |
| RequestId |
string |
The request ID. |
6A6CBE87-9F91-1323-B680-E7A7065XXXXX |
Examples
Success response
JSON format
{
"Version": 2,
"RequestId": "6A6CBE87-9F91-1323-B680-E7A7065XXXXX"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.