ci_variables
Create a group variable
Creates a group variable.
post/api/v4/groups/{id}/variables
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID of a group or URL-encoded path of the group owned by the authenticated user
Request body
Response
Create a group 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.