Update every instrument in a category
const url = 'https://api.koneth.com/api/v1/management/servers/6be9a699-2f28-402e-b64e-93ba6bdafe1b/instrument-categories/forex';const options = { method: 'PATCH', headers: { 'Idempotency-Key': 'account-create-client-1042', Authorization: '<Authorization>', 'Content-Type': 'application/json' }, body: '{"maxLeverage":50,"requestId":"news-crypto-20260916"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.koneth.com/api/v1/management/servers/6be9a699-2f28-402e-b64e-93ba6bdafe1b/instrument-categories/forex \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: account-create-client-1042' \ --data '{ "maxLeverage": 50, "requestId": "news-crypto-20260916" }'The same body as the single-instrument route, applied to every
instrument in the category that the server is entitled to. A category
with nothing attached answers 404. Requires markets:write.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”UUID of a trading server owned by your organization.
Example
6be9a699-2f28-402e-b64e-93ba6bdafe1bInstrument category.
Header Parameters
Section titled “Header Parameters”Unique key for this logical mutation. Reuse it only when retrying the same operation. Maximum 100 characters.
Example
account-create-client-1042Request Bodyrequired
Section titled “Request Bodyrequired”object
The instrument’s leverage ceiling. The effective leverage is the lower of the account’s and this, so it applies to every account, not only unlimited ones. Null removes it.
The whole spread when fixed; a markup over the provider’s when floating.
Floating only: a floor under the provider’s spread. Ignored when fixed, because a fixed spread is already exact.
Whether the instrument trades. Disabling it does not close open positions.
Example
{ "maxLeverage": 50, "requestId": "news-crypto-20260916"}Responses
Section titled “Responses”Terms applied and the market configuration republished.
object
object
Examplegenerated
{ "serverId": "example", "instruments": [ "example" ], "applied": {}, "marketConfigurationRepublished": true}Invalid request.
object
Validation issue details when the request fails schema validation.
object
Examplegenerated
{ "error": "example", "issues": [ {} ]}Management API authentication is missing or invalid.
object
Validation issue details when the request fails schema validation.
object
Example
{ "error": "Management API authentication required"}The organization cannot cover the active API request price.
object
Validation issue details when the request fails schema validation.
object
Example
{ "error": "Insufficient API credits"}The key lacks the required scope or server access.
object
Validation issue details when the request fails schema validation.
object
Example
{ "error": "Missing API scope: accounts:read"}The requested resource was not found.
object
Validation issue details when the request fails schema validation.
object
Examplegenerated
{ "error": "example", "issues": [ {} ]}Unexpected server error.
object
Validation issue details when the request fails schema validation.
object
Example
{ "error": "Internal server error"}