Skip to main content
PATCH
/
prop
/
templates
/
{template_id}
Update Template
curl --request PATCH \
  --url https://api.{your-broker}.slate-labs.com/prop/templates/{template_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "account_size": 123,
  "account_currency": "<string>",
  "group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "daily_dd_pct": 123,
  "daily_dd_mode": "<string>",
  "max_loss_pct": 123,
  "max_loss_mode": "<string>",
  "consistency_pct": 123,
  "consistency_enforcement": "<string>",
  "news_blackout_enabled": true,
  "news_blackout_seconds_before": 123,
  "news_blackout_seconds_after": 123,
  "news_min_impact": "<string>",
  "weekend_close_enabled": true,
  "weekend_close_dow": 123,
  "weekend_close_action": "<string>",
  "max_lots_per_symbol": 123,
  "min_trade_duration_seconds": 123,
  "profit_split_pct": 123,
  "payout_cadence": "<string>",
  "payout_min_amount": 123,
  "payout_min_trading_days": 123,
  "fee_amount": 123,
  "fee_currency": "<string>",
  "reset_fee_amount": 123,
  "phases": [
    {}
  ],
  "is_active": true,
  "hedging_same_account": true,
  "hedging_cross_account": true,
  "ea_allowed": true,
  "copy_trading_allowed": true,
  "max_loss_lock_at": "<string>",
  "max_loss_lock_buffer": 123,
  "fee_refund_policy": "<string>",
  "weekend_close_time": "<string>",
  "news_event_actions": [
    "<string>"
  ],
  "scaling_plan": [
    {}
  ]
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

template_id
string<uuid>
required

Body

application/json

Every field on challenge_templates that is safe to mutate after initial creation. All fields optional — only provided ones are written. Matches the Pydantic shape of the clone response so the same edit form can be used for both flows.

name
string | null
description
string | null
account_size
account_currency
string | null
group_id
string<uuid> | null
daily_dd_pct
daily_dd_mode
string | null
max_loss_pct
max_loss_mode
string | null
consistency_pct
consistency_enforcement
string | null
news_blackout_enabled
boolean | null
news_blackout_seconds_before
integer | null
news_blackout_seconds_after
integer | null
news_min_impact
string | null
weekend_close_enabled
boolean | null
weekend_close_dow
integer | null
weekend_close_action
string | null
max_lots_per_symbol
min_trade_duration_seconds
integer | null
profit_split_pct
payout_cadence
string | null
payout_min_amount
payout_min_trading_days
integer | null
fee_amount
fee_currency
string | null
reset_fee_amount
phases
Phases · object[] | null
is_active
boolean | null
hedging_same_account
boolean | null
hedging_cross_account
boolean | null
ea_allowed
boolean | null
copy_trading_allowed
boolean | null
max_loss_lock_at
string | null
max_loss_lock_buffer
fee_refund_policy
string | null
weekend_close_time
string | null
news_event_actions
string[] | null
scaling_plan
Scaling Plan · object[] | null

Response

Successful Response

The response is of type Response Update Template Prop Templates Template Id Patch · object.