> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slate-labs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Template

> Update an editable (non-seed) template. Seeds are read-only —
callers must clone first.



## OpenAPI

````yaml /openapi.json patch /prop/templates/{template_id}
openapi: 3.1.0
info:
  title: Slate API
  version: 1.0.0
  description: Trading infrastructure API.
servers:
  - url: https://api.{your-broker}.slate-labs.com
    variables:
      your-broker:
        default: broker
security: []
tags:
  - name: Authentication
  - name: API Tokens
  - name: Customers
  - name: Accounts
  - name: Orders
  - name: Instruments & Groups
  - name: Transactions
  - name: Payments
  - name: Transfers
  - name: Risk
  - name: Workflow & CRM
  - name: Messaging
  - name: Integrations
  - name: Webhooks
  - name: Compliance
  - name: Promo codes
  - name: Reporting
  - name: Audit
  - name: Fraud & moderation
  - name: Broker settings
  - name: Users
  - name: Roles & Teams
  - name: Streams (SSE)
  - name: Simulator
  - name: Observability
  - name: Prop trading
paths:
  /prop/templates/{template_id}:
    patch:
      tags:
        - Prop trading
      summary: Update Template
      description: |-
        Update an editable (non-seed) template. Seeds are read-only —
        callers must clone first.
      operationId: update_template_prop_templates__template_id__patch
      parameters:
        - name: template_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Template Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTemplateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Update Template Prop Templates  Template Id  Patch
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - bearerAuth: []
components:
  schemas:
    UpdateTemplateRequest:
      properties:
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        account_size:
          anyOf:
            - type: number
            - type: string
            - type: 'null'
          title: Account Size
        account_currency:
          anyOf:
            - type: string
            - type: 'null'
          title: Account Currency
        group_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Group Id
        daily_dd_pct:
          anyOf:
            - type: number
            - type: string
            - type: 'null'
          title: Daily Dd Pct
        daily_dd_mode:
          anyOf:
            - type: string
            - type: 'null'
          title: Daily Dd Mode
        max_loss_pct:
          anyOf:
            - type: number
            - type: string
            - type: 'null'
          title: Max Loss Pct
        max_loss_mode:
          anyOf:
            - type: string
            - type: 'null'
          title: Max Loss Mode
        consistency_pct:
          anyOf:
            - type: number
            - type: string
            - type: 'null'
          title: Consistency Pct
        consistency_enforcement:
          anyOf:
            - type: string
            - type: 'null'
          title: Consistency Enforcement
        news_blackout_enabled:
          anyOf:
            - type: boolean
            - type: 'null'
          title: News Blackout Enabled
        news_blackout_seconds_before:
          anyOf:
            - type: integer
            - type: 'null'
          title: News Blackout Seconds Before
        news_blackout_seconds_after:
          anyOf:
            - type: integer
            - type: 'null'
          title: News Blackout Seconds After
        news_min_impact:
          anyOf:
            - type: string
            - type: 'null'
          title: News Min Impact
        weekend_close_enabled:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Weekend Close Enabled
        weekend_close_dow:
          anyOf:
            - type: integer
            - type: 'null'
          title: Weekend Close Dow
        weekend_close_action:
          anyOf:
            - type: string
            - type: 'null'
          title: Weekend Close Action
        max_lots_per_symbol:
          anyOf:
            - type: number
            - type: string
            - type: 'null'
          title: Max Lots Per Symbol
        min_trade_duration_seconds:
          anyOf:
            - type: integer
            - type: 'null'
          title: Min Trade Duration Seconds
        profit_split_pct:
          anyOf:
            - type: number
            - type: string
            - type: 'null'
          title: Profit Split Pct
        payout_cadence:
          anyOf:
            - type: string
            - type: 'null'
          title: Payout Cadence
        payout_min_amount:
          anyOf:
            - type: number
            - type: string
            - type: 'null'
          title: Payout Min Amount
        payout_min_trading_days:
          anyOf:
            - type: integer
            - type: 'null'
          title: Payout Min Trading Days
        fee_amount:
          anyOf:
            - type: number
            - type: string
            - type: 'null'
          title: Fee Amount
        fee_currency:
          anyOf:
            - type: string
            - type: 'null'
          title: Fee Currency
        reset_fee_amount:
          anyOf:
            - type: number
            - type: string
            - type: 'null'
          title: Reset Fee Amount
        phases:
          anyOf:
            - items:
                type: object
              type: array
            - type: 'null'
          title: Phases
        is_active:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Active
        hedging_same_account:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Hedging Same Account
        hedging_cross_account:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Hedging Cross Account
        ea_allowed:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Ea Allowed
        copy_trading_allowed:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Copy Trading Allowed
        max_loss_lock_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Max Loss Lock At
        max_loss_lock_buffer:
          anyOf:
            - type: number
            - type: string
            - type: 'null'
          title: Max Loss Lock Buffer
        fee_refund_policy:
          anyOf:
            - type: string
            - type: 'null'
          title: Fee Refund Policy
        weekend_close_time:
          anyOf:
            - type: string
            - type: 'null'
          title: Weekend Close Time
        news_event_actions:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: News Event Actions
        scaling_plan:
          anyOf:
            - items:
                type: object
              type: array
            - type: 'null'
          title: Scaling Plan
      type: object
      title: UpdateTemplateRequest
      description: |-
        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.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````