# Features flags

## Reference

- v4 API:

  - `gitlab.v4.objects.Feature`

  - `gitlab.v4.objects.FeatureManager`

  - `gitlab.Gitlab.features`

- GitLab API: https://docs.gitlab.com/ce/api/features.html

## Examples

List features:

    features = gl.features.list()

Create or set a feature:

    feature = gl.features.set(feature_name, True)
    feature = gl.features.set(feature_name, 30)
    feature = gl.features.set(feature_name, True, user=filipowm)
    feature = gl.features.set(feature_name, 40, group=mygroup)

Delete a feature:

    feature.delete()