We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
filter
1 parent 44f62c4 commit f5e80cfCopy full SHA for f5e80cf
docs/gl_objects/variables.rst
@@ -102,9 +102,19 @@ Update a variable value::
102
# or
103
project.variables.update("key1", {"value": "new_value"})
104
105
+.. note::
106
+
107
+ If there are multiple variables with the same key, use ``filter`` to select
108
+ the correct environment_scope. See the GitLab API docs for more information.
109
110
Remove a variable::
111
112
project.variables.delete('key_name')
113
group.variables.delete('key_name')
114
115
var.delete()
116
117
118
119
120
0 commit comments