---
title: "Sync Tariff Squads"
method: POST
path: "/cabinet/admin/tariffs/{tariff_id}/sync-squads"
tags: ["Cabinet Admin Tariffs"]
---

# Sync Tariff Squads

`POST /cabinet/admin/tariffs/{tariff_id}/sync-squads`

Sync squads from tariff to all active/trial subscriptions in Remnawave panel.

Updates connected_squads and external_squad_uuid for every active or trial
subscription linked to this tariff.  Only users that have a remnawave_uuid
(i.e. already exist in the panel) are touched.

## Path parameters

- `tariff_id` integer, required

## Response `200`

Successful Response

- SyncSquadsResponse — Response after syncing squads for tariff subscriptions.
  - `tariff_id` integer, required
  - `tariff_name` string, required
  - `total_subscriptions` integer, required
  - `updated_count` integer, required
  - `failed_count` integer, required
  - `skipped_count` integer, required
  - `errors` string[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/bedolagam/apis/remnawave-bot-admin-api.md) · [All operations](https://skmtc.net/bedolagam/apis/remnawave-bot-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bedolagam/remnawave-bot-admin-api/revisions/45956d1b13ec/schema)
