---
title: "Stop initial synchronization on Agents"
method: POST
path: "/{id}/agents/initialsync/stop"
tags: ["Runs"]
---

# Stop initial synchronization on Agents

`POST /{id}/agents/initialsync/stop`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/{id}/agents/initialsync/stop`
- Auth: API key in header `Authorization`

## Path parameters

- `id` number, required

## Request body

- object
  - `agent_ids` number: Array of Agents ids. Pass empty request body to stop initial synchronization on all available Agents in job run. It's enough to pass any Agent id in the High Availability group to stop initial syncing on all Agents in it.

## Response `200`

Successful response

- object

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

[API](https://skmtc.dev/resilio/apis/resilio-api.md) - [All operations](https://skmtc.dev/resilio/apis/resilio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/resilio/apis/resilio-api/revisions/ca39130a395e?raw)
