Creating a Parameter Template (a V3 API)
Function
This API is used to create a parameter template.
URI
POST /v3/{project_id}/configurations
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Project ID of a tenant in a region |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. |
Example Request
Creating a parameter template
POST https://{endpoint}/v3/{project_id}/configurations
{
"name" : "param1688972688",
"description" : "test"
} Response Parameters
- Normal response
| Parameter | Type | Description |
|---|---|---|
| id | String | Parameter template ID |
| name | String | Name |
Example Response
- Normal response example
{
"id": "404f3bbb8a724f7697e7fb15a1b09370pr09",
"name": "param1688972688"
} - Abnormal response
For details, see Abnormal Request Results.
Status Codes
- Normal
- Abnormal
For details, see Status Codes.
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot