API attribute for disabling CICD

Hi Guys,

I would like to disable CI/CD from the settings ( Visibility, project features, permissions ) using API attribute. However, I couldn’t find any attribute which disables CI/CD.

Can anyone help me on this?

Hi @Devi :wave:

The attribute to modify whether CI/CD is enabled for a project (and it’s visibility, if it is enabled) is builds_access_level

Using the Projects API endpoint to disable CI/CD for a given project, you’d want to execute the following:


1 Like