curl --request POST \
--url https://api.example.com/cabinet/admin/tariffs/{tariff_id}/sync-squads \
--header 'Authorization: Bearer <token>'{
"tariff_id": 123,
"tariff_name": "<string>",
"total_subscriptions": 123,
"updated_count": 123,
"failed_count": 123,
"skipped_count": 123,
"errors": [
"<string>"
]
}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.
curl --request POST \
--url https://api.example.com/cabinet/admin/tariffs/{tariff_id}/sync-squads \
--header 'Authorization: Bearer <token>'{
"tariff_id": 123,
"tariff_name": "<string>",
"total_subscriptions": 123,
"updated_count": 123,
"failed_count": 123,
"skipped_count": 123,
"errors": [
"<string>"
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.