MT4/MT5 to MT4/MT5 cloud copier
A master (sender) account and its followers (receivers), copied in our cloud - no VPS, no terminal on your side. The sender and its receivers run on the same cloud server (TPcopier places them). The sender's investor (read-only) password is enough; a receiver needs its trading password.
Your API accounts copy each other too. Accounts added with "bridge":"mt-api" are kept as copier
accounts ("bridge":"mt-copy") and share its slots: POST /api/v1/hosting/pipes with
{"sender_id":S,"receiver_id":R} links two of them, and each keeps its own slot. From then on each runs
while a pipeline uses it, as every copier account does. Two accounts on different cloud servers are brought onto one by themselves - the receiver
moves to its sender's (or a sender with no receivers yet to its receiver's), restarting there in a minute or two;
the answer's moved says which. A workspace's new accounts are placed where its others run. Every copy
event and copy webhook carries sender_ticket and receiver_ticket - market and
pending copies alike (side: BUY, SELL, BUY_LIMIT ...).
# 1. the sender (master): the answer's "id" is S
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"platform":"mt5","login":"5012345","password":"INVESTOR_PASSWORD","server":"Broker-Live","label":"Master","bridge":"mt-copy","role":"s"}' \
https://tpcopier.com/api/v1/hosting/accounts
# 2. each follower: copies S from now on - the answer has its "id" and its pipeline's "pipe_id" (P)
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"platform":"mt5","login":"7001234","password":"TRADING_PASSWORD","server":"Broker-Live","label":"Follower 1","bridge":"mt-copy","role":"r","sender_id":S}' \
https://tpcopier.com/api/v1/hosting/accounts
# 3. its lots and rules (all settings: the table below). Symbols are matched by themselves (XAUUSD to Gold, US30 to DJ30...):
# map only an exception
curl -X PATCH -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"settings":{"lot_mode":"multiplier","lot_value":1,"copy_sltp":true,"symbol_map":{"XAUUSD":"GOLD"}}}' https://tpcopier.com/api/v1/hosting/pipes/P
# 4. pause it, and resume it - paused, it opens nothing new but still follows the closes, stops and targets of what it copied
curl -X PATCH -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" -d '{"enabled":false}' https://tpcopier.com/api/v1/hosting/pipes/P
# 5. watch it: each account's state and each pipeline - then today's copies, their speed and the last ones
curl -H "Authorization: Bearer $TPC_KEY" https://tpcopier.com/api/v1/hosting
curl -H "Authorization: Bearer $TPC_KEY" https://tpcopier.com/api/v1/hosting/copier
# 6. every copy, with both tickets, its lots, price and speed - and, with status=failed, what was not copied and why
curl -H "Authorization: Bearer $TPC_KEY" "https://tpcopier.com/api/v1/hosting/copier/events?pipe_id=P&status=failed"
| Pipeline setting | Default | What it does |
|---|---|---|
lot_mode | multiplier | multiplier (the sender's lots × lot_value), fixed (lot_value lots),
risk_percent (lot_value % of the receiver's balance at risk), balance_ratio (lots scaled by the two balances × lot_value) |
lot_value | 1.0 | the number lot_mode uses |
min_lot / max_lot | 0.01 / 100 | a copy's lots are kept between these |
reverse | false | buy becomes sell and sell becomes buy |
copy_sltp | true | copy the stop loss and take profit, and their changes |
copy_pending | true | copy pending orders too |
symbol_map | {} | exceptions to the automatic matching: {"XAUUSD":"GOLD"} |
symbol_prefix / symbol_suffix | "" | the receiver's symbols carry this before / after the name |
max_positions | 100 | no new copy while this pipeline has this many copies open |
max_slippage | 20 | points a copy may be filled away from the price (an MT5 receiver; MT4 uses its own) |
whitelist / blacklist | [] | only these sender symbols are copied / these never are: ["XAUUSD","EURUSD"] |
lot_filter_min / lot_filter_max | 0 (off) | copy only the sender's trades of at least / at most these lots |
hours | off | copy only in a window: {"enabled":true,"from":"08:00","to":"20:00","days":["mon","tue","wed","thu","fri"],"tz":"Europe/London","close_outside":false}
- close_outside closes what it copied when the window shuts |
max_trade_age_s | 5 | a sender's trade older than this (seconds) is not copied |
daily_loss_limit_pct | 0 (off) | stop copying for the day once the receiver lost this % of its balance |
magic | 234000 | the magic number of the copies on the receiver |
Slots: one account each, each from its own day
The copier's receivers and the accounts your software trades alone (added with bridge mt-api,
trading guide) each sit in a slot. A slot runs a whole month - or 3,
6 or 12, the same price a month - from the moment it is paid, and renews by itself from your wallet a day before its own
end. Add an account through the API and it takes its slot at once: a free one if you have one, else a new one booked
from your wallet - the first today, the second on the 20th, each counted from its own day. Delete an account and its
slot is free again, still paid until its end, for the next one. The sender (master) comes free with its receivers.
# every account, however it was added - its state, money, positions, and its slot: from, until, renews by itself
curl -H "Authorization: Bearer $TPC_KEY" https://tpcopier.com/api/v1/hosting/accounts
# every slot: its account (or free), from, until, days left, renewing or not - and your wallet against this week's renewals
curl -H "Authorization: Bearer $TPC_KEY" https://tpcopier.com/api/v1/hosting/slots
# book 2 slots ahead, each a month from now, from your wallet (transfer / binance: pay it with the answer's ref / checkout_url)
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"count":2,"months":1,"method":"wallet","accept_no_refund":true}' https://tpcopier.com/api/v1/hosting/slots/book
# or say how many you want in all: the ones missing are booked from today
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"bridge":"mt-copy","slots":6,"months":1,"method":"wallet","accept_no_refund":true}' https://tpcopier.com/api/v1/hosting/slots
# put account R in slot 12 (out of the slot it held), free slot 12, or stop it renewing
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" -d '{"account_id":R}' https://tpcopier.com/api/v1/hosting/slots/12
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" -d '{"account_id":0}' https://tpcopier.com/api/v1/hosting/slots/12
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" -d '{"auto_renew":false}' https://tpcopier.com/api/v1/hosting/slots/12
# rename an account, or give it its new password
curl -X PATCH -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" -d '{"label":"Follower EU"}' https://tpcopier.com/api/v1/hosting/accounts/R
# another account in its slot - its pipeline, links, settings and slot move over, the old one goes
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"login":"7009999","password":"TRADING_PASSWORD","server":"Broker-Live"}' https://tpcopier.com/api/v1/hosting/accounts/R/replace
# delete it: its slot is free again, still paid until its end
curl -X DELETE -H "Authorization: Bearer $TPC_KEY" https://tpcopier.com/api/v1/hosting/accounts/R
When the wallet is short. A slot that cannot renew ends on its day: its account stops and its state says why;
the slot and the account are kept for 7 days, and a wallet topped up in that time renews the slot by itself - the
account runs again. You are told once a day (a notification and slots.renew_failed), and every account
whose renewal the wallet cannot cover in the next 7 days says "wallet_short": true in its slot. Each change
comes by webhook: account.added, account.removed,
slots.bought, slot.assigned, slots.renewed, slots.renew_failed,
slots.buy_failed, wallet.credited.
A MetaTrader signal bridge (Telegram, WhatsApp, Discord, TradingView to MT4/5) is a plan of 1, 2, 3, 5 or 10 accounts:
POST /api/v1/hosting/slots with its bridge and the accounts in all - the days already paid turn
into days at the new price, "months":0 adds accounts until the end it has - and
PUT /api/v1/hosting/slots/auto renews it and buys room by itself (auto_renew,
renew_months, auto_slots). POST /api/v1/hosting/slots/quote says a price first;
your wallet: GET /api/v1/wallet, money onto it: POST /api/v1/wallet/top-up.
Equity protection
Stop a receiver losing more than you allow: when it loses daily_pct % in a day, or total_pct %
from its highest equity, our cloud server tells you (notify), stops copying into it (stop_copying)
or closes everything and stops (close_all) - checked there every few seconds, so it acts even when your code
is not running. A trip comes as a notification and the protection.tripped webhook.
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"daily_pct":5,"total_pct":20,"action":"stop_copying"}' https://tpcopier.com/api/v1/hosting/accounts/R/protection
# after a trip, when you are ready: {"reset":true}
Start, stop, reconnect
POST /api/v1/hosting/accounts/{id}/action with {"action":"start"}, stop (its
terminal closes), reconnect (a fresh sign-in) or delete (terminal and data removed). To trade or
read an account yourself - positions, history, prices, orders - see the MT4/MT5 trading API.
Coming from CopyFactory?
| CopyFactory | TPcopier |
|---|---|
| a strategy (provider account) | a sender: POST /api/v1/hosting/accounts with "role":"s" |
| a subscriber and its subscription | a receiver and its pipeline: "role":"r","sender_id":S, or POST /api/v1/hosting/pipes |
update_subscriber (multiplier, symbol filters, close only...) | PATCH /api/v1/hosting/pipes/{id} with its settings; {"enabled":false} = close only |
remove_subscription / remove_strategy | DELETE /api/v1/hosting/pipes/{id} / delete the sender |
get_subscription_transactions, get_strategy_log | GET /api/v1/hosting/copier/events - every copy with sender_ticket and receiver_ticket |
get_user_log (why a copy failed) | GET /api/v1/hosting/copier/events?status=failed - its message |
| risk limits | max_lot, max_positions, daily_loss_limit_pct, hours, equity protection |
Further reading: MetaTrader 5's guide to positions, orders and deals.
Endpoints in this guide
Base address https://tpcopier.com. Send your key with every request -
Authorization: Bearer tpc_... - up to 120 requests a minute. Open an endpoint for its fields,
its answers and an example.
GET/api/v1/hostingHosting
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting"GET/api/v1/hosting/copierCopier Stats
The MT4/5 copier for the Dashboard: each pipeline's copies today and how long they took, each account's balance change, the last copies (hosting.copier_stats).
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/copier"POST/api/v1/hosting/accountsAdd Hosted
Request body
{
"platform": "mt5",
"login": "",
"password": "",
"server": "",
"label": "",
"bridge": "",
"role": "",
"links": [
{
"kind": "",
"source_id": 0
}
],
"sender_id": 0,
"broker": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"platform": "mt5", "login": "", "password": "", "server": "", "label": "", "bridge": "", "role": "", "links": [{"kind": "", "source_id": 0}], "sender_id": 0, "broker": ""}' \
"https://tpcopier.com/api/v1/hosting/accounts"GET/api/v1/hosting/accountsHosted Accounts
Every cloud account of the workspace - the API's, the copier's, the bridges' - however it was added (the owner, 2026-10-12: "jitne bhi accounts API se connect hote hai vo unke server par bhi dikhne chahiye"): its state, money and positions as last reported, and its slot - from, until, renews by itself, the wallet short of its renewal.
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts"POST/api/v1/hosting/accounts/{aid}/passwordHosted Password
Parameters
| aid * | path | integer |
Request body
{
"password": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"password": ""}' \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/password"POST/api/v1/hosting/accounts/{aid}/actionHosted Action
start / stop the account's cloud terminal, reconnect it (a fresh sign-in), or delete it (terminal and data).
Parameters
| aid * | path | integer |
Request body
{
"action": "reconnect"
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"action": "reconnect"}' \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/action"GET/api/v1/hosting/accounts/{aid}/logHosted Log
This hosted account's log: connecting, Algo Trading, refusals, trades and copies.
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/log"GET/api/v1/hosting/ea-formEa Form
Every input of the TPcopier Telegram EA, in its own groups - read from the EA itself (MT4's own source for an MT4 account).
Parameters
| platform | query | string |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/ea-form"GET/api/v1/hosting/brokersMt Brokers
Brokers of one platform (MT5 or MT4 - never mixed) whose name or a server holds q, with their servers: the exact spellings MetaTrader signs in with (the add-account form's Broker and Server lists), the ones MetaTrader's own directory showed when we checked them in `checked`. full=1: every broker of the platform, A-Z - for software that searches its own copy (FINFX, 2026-10-19: "list bhi mil jani chahiye api se").
Parameters
| q | query | string |
| platform | query | string |
| full | query | boolean |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/brokers"PUT/api/v1/hosting/accounts/{aid}/eaHosted Ea
Parameters
| aid * | path | integer |
Request body
{
"inputs": {}
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"inputs": {}}' \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/ea"POST/api/v1/hosting/pipesAdd Pipe
Request body
{
"sender_id": 0,
"receiver_id": 0,
"settings": {}
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"sender_id": 0, "receiver_id": 0, "settings": {}}' \
"https://tpcopier.com/api/v1/hosting/pipes"PATCH/api/v1/hosting/pipes/{pid}Patch Pipe
Parameters
| pid * | path | integer |
Request body
{
"enabled": false,
"settings": {}
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PATCH -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"enabled": false, "settings": {}}' \
"https://tpcopier.com/api/v1/hosting/pipes/{pid}"DELETE/api/v1/hosting/pipes/{pid}Delete Pipe
Parameters
| pid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X DELETE -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/pipes/{pid}"GET/api/v1/hosting/slotsSlots
Your MetaTrader slots: each bridge's paid accounts - the account in each slot, how many are free, until when they are paid - the cloud terminals they carry, your wallet, and what runs by itself (auto).
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/slots"POST/api/v1/hosting/slotsBuy Slots
Buy slots: `slots` accounts on a MetaTrader bridge for `months`. From the wallet it is paid and running at once; by transfer the answer's ref opens its payment; with Binance Pay, checkout_url. `slots` is the total you want - more than you have now adds slots, the days already paid turn into days at the new price.
Request body
{
"bridge": "mt-copy",
"slots": 4,
"months": 1,
"method": "wallet",
"accept_no_refund": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"bridge": "mt-copy", "slots": 4, "months": 1, "method": "wallet", "accept_no_refund": false}' \
"https://tpcopier.com/api/v1/hosting/slots"PUT/api/v1/hosting/slots/autoSlots Auto
What runs by itself, from the wallet: renewing before the end, and buying a slot when an account needs one - each told by notification and webhook (slots.renewed, slots.renew_failed, slots.bought, slots.buy_failed).
Request body
{
"auto_renew": false,
"renew_months": 0,
"auto_slots": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"auto_renew": false, "renew_months": 0, "auto_slots": false}' \
"https://tpcopier.com/api/v1/hosting/slots/auto"POST/api/v1/hosting/slots/quoteSlots Quote
What `slots` slots of a bridge cost for `months`, and until when they would run (the days already paid are turned into days at the new price).
Request body
{
"bridge": "mt-copy",
"slots": 4,
"months": 1,
"method": "wallet",
"accept_no_refund": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"bridge": "mt-copy", "slots": 4, "months": 1, "method": "wallet", "accept_no_refund": false}' \
"https://tpcopier.com/api/v1/hosting/slots/quote"POST/api/v1/hosting/slots/bookBook Slots
Book MT4/5 slots - for the copier's receivers and the API's accounts - each its own whole month (or 3, 6, 12) from the day it is booked, renewed by itself a day before its own end.
Request body
{
"count": 1,
"months": 1,
"method": "wallet",
"account_id": 0,
"accept_no_refund": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"count": 1, "months": 1, "method": "wallet", "account_id": 0, "accept_no_refund": false}' \
"https://tpcopier.com/api/v1/hosting/slots/book"PUT/api/v1/hosting/slots/{sid}Edit Slot
Set a slot: put an account in it (out of the slot it held), free it, or switch its renewal.
Parameters
| sid * | path | integer |
Request body
{
"account_id": 0,
"auto_renew": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"account_id": 0, "auto_renew": false}' \
"https://tpcopier.com/api/v1/hosting/slots/{sid}"PATCH/api/v1/hosting/accounts/{aid}Edit Hosted
Change a cloud account in its slot: its name (label), its password (sealed at once; it signs in again). Another login or server is another account: POST .../replace.
Parameters
| aid * | path | integer |
Request body
{
"label": "",
"password": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PATCH -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"label": "", "password": ""}' \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}"DELETE/api/v1/hosting/accounts/{aid}Delete Hosted
Delete a cloud account: its terminal is closed and its data removed; its slot is free for another account.
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X DELETE -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}"GET/api/v1/hosting/accounts/{aid}Hosted Account
One cloud account: its state, money and open positions as last reported (every few seconds), its margin, free margin and leverage, its API limits and its equity protection.
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}"POST/api/v1/hosting/accounts/{aid}/replaceReplace Hosted
Another MetaTrader account in this one's slot: it takes over its Bridge links, copier pipelines, EA inputs, API limits and equity protection on the same cloud server; the old account goes. Returns the new account's id.
Parameters
| aid * | path | integer |
Request body
{
"platform": "",
"login": "",
"password": "",
"server": "",
"label": "",
"broker": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"platform": "", "login": "", "password": "", "server": "", "label": "", "broker": ""}' \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/replace"GET/api/v1/hosting/copier/eventsCopier Events
Each copy the MT4/5 copier made or refused, newest first (14 days): when, the sender's and the receiver's tickets and lots, the price, how long it took (latency_ms), and why one was not copied. Filter by pipe_id, status (success, failed, skipped) and since (ISO time).
Parameters
| pipe_id | query | integer |
| status | query | string |
| since | query | string |
| limit | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/copier/events"GET/api/v1/hosting/accounts/{aid}/prices/streamAccount Price Stream
Live: prices as they move - Server-Sent Events, one `data:` line per move: {"symbol" (the name you sent), "name" (the account's own), "bid", "ask", "time_msc" (the broker's clock), "at"}. Up to 20 symbols, comma separated, for up to max_s seconds (3600 at most - connect again for more). `event: missing` names the symbols the account has not got, `event: error` a moment its terminal could not answer. Read only while you listen.
Parameters
| aid * | path | integer |
| symbols * | query | string |
| max_s | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/prices/stream?symbols=..."PUT/api/v1/hosting/accounts/{aid}/protectionAccount Protection
Equity protection: when the account loses daily_pct % in a day or total_pct % from its peak, our cloud server tells you (notify), stops copying into it (stop_copying) or closes everything and stops (close_all) - checked every few seconds there. reset: true starts it again.
Parameters
| aid * | path | integer |
Request body
{
"daily_pct": 0,
"total_pct": 0,
"action": "",
"reset": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"daily_pct": 0, "total_pct": 0, "action": "", "reset": false}' \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/protection"