---
title: "Sync SCMConfig"
method: POST
path: "/api/scm/deployments/{deploymentId}/configs/{configId}/_sync"
tags: ["ScmService"]
---

# Sync SCMConfig

`POST /api/scm/deployments/{deploymentId}/configs/{configId}/_sync`

Sync an SCM config.

## Path parameters

- `deploymentId` string, required
- `configId` string, required

## Request body

- ProtosScmV1SyncScmConfigRequest
  - `deploymentId` string
  - `configId` string
  - `debug` boolean

## Response `200`

OK

- ProtosScmV1SyncScmConfigResponse
  - `taskTokenJwt` string — Encoded TaskToken

---

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