Update group security settings
PUT
/api/v4/groups/{id}/security_settings
Updates group security settings for a specified group. You must have the Security Manager, Maintainer, or Owner role for the group.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body required
Section titled “ Request Body required ” Media type application/json
object
secret_push_protection_enabled
required
Whether to enable the feature
boolean
projects_to_exclude
IDs of projects to exclude from the feature
Array<integer>
Example generated
{ "secret_push_protection_enabled": true, "projects_to_exclude": [ 1 ]}Responses
Section titled “ Responses ”OK
Bad Request
Not Found