Skip to main content
PATCH
/
trade
/
v1
/
venues
/
{venueCode}
Update venue settings
curl --request PATCH \
  --url https://api.staging.layer1.com/trade/v1/venues/{venueCode} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tradingEnabled": false
}
'
{
  "code": "<string>",
  "name": "<string>",
  "capabilities": [
    "TRADING"
  ],
  "tradingEnabled": true
}

Documentation Index

Fetch the complete documentation index at: https://exness-preview.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

venueCode
string
required

Body

application/json

Request to update a specific property of a venue

tradingEnabled
boolean

Sets tradingEnabled

Example:

false

Response

OK

code
string
name
string
capabilities
enum<string>[]
Available options:
TRADING,
TREASURY,
SHARED_MARKET_DATA,
AGGREGATED_MARKET_DATA,
TENANTED_MARKET_DATA,
MISSING_MARKET_DATA_CAPABILITY,
FOK_ORDERS_ONLY
tradingEnabled
boolean