---
title: "Update Auto Sync"
method: PATCH
path: "/repos/{short_id}/auto-sync"
tags: ["repos"]
---

# Update Auto Sync

`PATCH /repos/{short_id}/auto-sync`

Toggle auto-sync (push-webhook + polling fallback) for a repo.

``short_id`` may be either a snapshot short_id (12 chars) or the
repo's UUID — the latter for parity with ``/repos/{repo_id}/reindex``.

## Path parameters

- `short_id` string, required

## Request body

- AutoSyncToggleRequest
  - `enabled` boolean, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/repowise/repowise-hosted-api/revisions/1e57283a9737/schema)
