Skip to main content

sessions.settings.set

Updates the settings for a running session.

Refer to the libtorrent documentation for detailed information for each setting.

Some settings like user agent, peer ID, etc cannot be updated.

Request​

{
"id": 7,
"settings": {
"active_limit": 99
}
}

Response​

null

Errors​

CodeReason
-1Session not found
-2Session not loaded
-32602Invalid setting value. data.field names the setting (e.g.settings.file_pool_size) and nothing is applied.