ci_variables
Update an instance variable
Updates a specified instance variable.
put/api/v4/admin/ci/variables/{key}
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
keystring required
The key of a variable
Request body
Response
Update an instance variable
Example response
{
"variable_type": "env_var",
"key": "TEST_VARIABLE_1",
"value": "TEST_1",
"environment_scope": "*",
"description": "This variable is being used for ..."
}Changes
No recorded changes to this operation across all 5 revisions of this API.