Skip to content

Update security policy settings

PUT
/api/v4/admin/security/compliance_policy_settings

Updates the security policy settings for this GitLab instance.

Media type application/json
object
csp_namespace_id
required

ID of the group designated to centrally manage security policies and compliance frameworks.

integer
nullable
Example generated
{
"csp_namespace_id": 1
}

OK

Media type application/json
object
csp_namespace_id
integer format: int64
Example
{
"csp_namespace_id": 1
}

400 Bad Request

401 Unauthorized

403 Forbidden

422 Unprocessable Entity