---
title: "Bulk Edit Projects"
method: PATCH
path: "/api/agent/deployments/{deploymentId}/repos"
tags: ["ProjectsService"]
---

# Bulk Edit Projects

`PATCH /api/agent/deployments/{deploymentId}/repos`

Applies changes to multiple specified projects at once.

## Path parameters

- `deploymentId` string, int64, required — The unique numerical identifier for the deployment.

## Request body

- ProtosProjectsV1BulkEditReposRequest
  - `deploymentId` string, int64 — The unique numerical identifier for the deployment.
  - `changes` ProtosProjectsV1BulkEditReposItem[]
    - `repoId` string, int64 — The unique numerical identifier of the project to edit.
    - `change` ProtosProjectsV1SingleBulkRepoChange
      - `updateTags` boolean — if the tags should be updated
      - `tags` string[] — what the tags should be updated to, will be ignored if update_tags is false
      - `managedScans` ProtosProjectsV1ManagedScanSettings
        - `diffScan` boolean
        - `numConfigs` integer
        - `fullScan` boolean
      - `aiScans` ProtosProjectsV1AiScanSettings
        - `fullScan` boolean

## Response `200`

OK

- ProtosProjectsV1BulkEditReposResponse
  - `updatedRepoNames` string[] — The names of the repositories that were updated.

---

[API](https://skmtc.net/semgrep/apis/semgrep-web-app.md) · [All operations](https://skmtc.net/semgrep/apis/semgrep-web-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/semgrep/semgrep-web-app/versions/6483eeecd582/schema)
