summaryrefslogtreecommitdiff
path: root/docs/gl_objects/settings.rst
blob: 4accfe0f0ec153fa795ce9cc5fe3a6e2414e2a67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
########
Settings
########

Reference
---------

* v4 API:

  + :class:`gitlab.v4.objects.ApplicationSettings`
  + :class:`gitlab.v4.objects.ApplicationSettingsManager`
  + :attr:`gitlab.Gitlab.settings`

* GitLab API: https://docs.gitlab.com/ce/api/settings.html

Examples
--------

Get the settings::

    settings = gl.settings.get()

Update the settings::

    settings.signin_enabled = False
    settings.save()