Merran documentation API & integrations
Change the household's settings
PATCH
/api/settings/household
const url = 'http://localhost:3000/api/settings/household';const options = { method: 'PATCH', headers: { cookie: 'merran.session_token=<merran.session_token>', 'Content-Type': 'application/json' }, body: '{"errorTracking.environment":"home","errorTracking.dsn":null}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url http://localhost:3000/api/settings/household \ --header 'Content-Type: application/json' \ --cookie merran.session_token=<merran.session_token> \ --data '{ "errorTracking.environment": "home", "errorTracking.dsn": null }'Household admins only. Send only what changes. Nothing is saved if anything is wrong.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
New values by key. Null puts a setting back to its default, and deletes a secret.
object
key
additional properties
Example
{ "errorTracking.environment": "home", "errorTracking.dsn": null}Responses
Section titled “Responses”Saved.
Media typeapplication/json
No module has household settings yet, so the list is empty.
object
settings
required
Array<object>
object
key
required
string
kind
required
string
value
Its value, or null for a secret or a setting that isn’t set.
default
source
required
string
lockedBy
required
The environment variable that sets it, which means it can’t be changed here.
string | null
secret
object
set
required
boolean
hint
required
Its last four characters, when it’s long enough.
string | null
unreadable
required
Sealed with another master key, so it needs entering again.
boolean
choices
Array<string>
Example
{ "settings": []}Something isn’t right, field by field.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}Not signed in.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}Not allowed.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}© 2026 Kyle Johnson. Documentation: CC BY 4.0. Merran: AGPL-3.0-or-later.