Creates 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:CreateConfigTemplate |
create |
*All Resource
|
None | None |
Request syntax
POST /pop/v5/config_template HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
No |
The name of the configuration template. The name can be up to 64 characters in length. |
my-template |
| 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. |
My 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. |
[{"Key":"name","Value":"william"},{"Key":"age","Value":"12"}] |
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 |
| Data |
object |
The data returned. |
|
| Id |
integer |
The ID of the template. |
125122 |
Examples
Success response
JSON format
{
"RequestId": "D16979DC-4D42-****************",
"Code": 200,
"Message": "success",
"Data": {
"Id": 125122
}
}
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.