Modifies a configuration template.
Try it now
Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:UpdateConfigTemplate |
update |
*All Resource
|
None | None |
Request syntax
PUT /pop/v5/config_template HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
No |
The ID of the configuration template. |
123 |
| Name |
string |
No |
The name of the configuration template. The name can be up to 64 characters in length. |
configtmpl1 |
| Format |
string |
No |
The data format of the configuration template. Valid values:
|
JSON |
| Description |
string |
No |
The description of the configuration template. The description can be up to 255 characters in length. |
Test configuration template |
| Content |
string |
No |
The content of the configuration template. The value must be in the format that is specified by the Format parameter. |
{"name":"william","age":18} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
D16979DC-4D42-************* |
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The additional information that is returned. |
success |
Examples
Success response
JSON format
{
"RequestId": "D16979DC-4D42-*************",
"Code": 200,
"Message": "success"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | Edas.errorcode.PermissionDenied.message | You are not authorized to perform the operation. |
See Error CodesError Codes for a complete list.
Release notes
See Release NotesRelease Notes for a complete list.