Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 409 Bytes

File metadata and controls

26 lines (17 loc) · 409 Bytes

Settings

Reference

  • v4 API:
    • :class:`gitlab.v4.objects.ApplicationSettings`
    • :class:`gitlab.v4.objects.ApplicationSettingsManager`
    • :attr:`gitlab.Gitlab.settings`
  • GitLab API: https://docs.gitlab.com/api/settings

Examples

Get the settings:

settings = gl.settings.get()

Update the settings:

settings.signin_enabled = False
settings.save()