Update venue properties like trading enabled status
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.
Request to update a specific property of a venue
Sets tradingEnabled
false
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
}