# Update security settings Endpoint: PATCH /code/api/v1/repos/{repo_identifier}/settings/security Version: 1.0 Security: x-api-key ## Query parameters: - `accountIdentifier` (string, required) Account Identifier for the Entity. - `orgIdentifier` (string) Organization Identifier for the Entity. - `projectIdentifier` (string) Project Identifier for the Entity. ## Path parameters: - `repo_identifier` (string, required) ## Request fields (application/json): - `principal_committer_match` (boolean,null) - `secret_scanning_enabled` (boolean,null) - `vulnerability_scanning_mode` (string,null) Enum: "disabled", "detect", "block" ## Response 200 fields (application/json): - `principal_committer_match` (boolean,null) - `secret_scanning_enabled` (boolean,null) - `vulnerability_scanning_mode` (string,null) Enum: "disabled", "detect", "block" ## Response 400 fields (application/json): - `message` (string) - `values` (object) ## Response 401 fields (application/json): - `message` (string) - `values` (object) ## Response 403 fields (application/json): - `message` (string) - `values` (object) ## Response 404 fields (application/json): - `message` (string) - `values` (object) ## Response 500 fields (application/json): - `message` (string) - `values` (object)