Skip to content
merran
GitHubInstall

Merran documentation API & integrations

Forget one of the household's names for a food

DELETE
/api/list/foods/{aliasId}
curl --request DELETE \
--url http://localhost:3000/api/list/foods/0199e8b0-5a10-7a01-8b00-00000000001f \
--cookie merran.session_token=<merran.session_token>

Merran’s own name for it counts again. Lines already joined stay as they are. With an API key, it needs the list: write permission.

aliasId
required
string

Example

0199e8b0-5a10-7a01-8b00-00000000001f

Forgotten.

Media typeapplication/json
object
ok
required
boolean

Example

{
"ok": true
}

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."
}
}
}

No such name.

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.