Skip to content

Update Settings

PATCH
/v1/settings
curl --request PATCH \
--url https://example.com/v1/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "auto_settle": true }'
Media typeapplication/json
SettingsUpdate
object
auto_settle
required
Auto Settle
boolean

Example generated

{
"auto_settle": true
}

Successful Response

Media typeapplication/json
Settings
object
provider
required
Any of:
string
Allowed values: server organisation
mode
required
Mode

local: one person on their own machine. hosted: shared, with sign-in.

string
Allowed values: local hosted
server_files
required
Server Files

Whether datasets can be added from, and exported to, paths on the server.

boolean
auto_settle
required
Auto Settle

Whether the organisation’s datasets settle by themselves after 24 hours of nothing happening on them, unless a dataset says otherwise. On by default.

boolean

Example

{
"provider": "server",
"mode": "local"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}