Editing a Parameter Group
Function
This API is used to edit a parameter group.
Calling Method
For details, see Calling APIs.
URI
PUT /v5/{project_id}/api/pipeline/variable/group/update
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Parameter description: CodeArts project ID. Constraints: N/A. Value Range: The value contains 32 characters. Default value: N/A. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
projectId |
Yes |
String |
Project ID. |
name |
Yes |
String |
Parameter group name. |
description |
No |
String |
Description. |
variables |
No |
Array of variables objects |
Parameter list. |
id |
Yes |
String |
Parameter group ID. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
success |
Boolean |
Parameter description: Whether the operation is successful. Value range: None. |
Example Requests
PUT https://(endpoint)/v5/e2e18230a85d4d6ab0b56cb6d2246c18/api/pipeline/variable/group/update { "projectId" : "e2e18230a85d4d6ab0b56cb6d2246c18", "name" : "2131", "description" : "", "variables" : [ { "name" : "123", "sequence" : 1, "type" : "string", "value" : "123", "is_secret" : false, "description" : "123" } ], "id" : "66d40ba4e3da4505aaaf7e9de9860b6e" }
Example Responses
Status code: 200
Response body.
{ "success" : true }
Status Codes
Status Code |
Description |
---|---|
200 |
Response body. |
Error Codes
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