Skip to content
merran
GitHubInstall

Merran documentation API & integrations

Put back, or delete for good, several recipes at once

POST
/api/recipes/deleted/bulk
curl --request POST \
--url http://localhost:3000/api/recipes/deleted/bulk \
--header 'Content-Type: application/json' \
--cookie merran.session_token=<merran.session_token> \
--data '{ "action": "restore", "ids": [ "0199e8b0-5a10-7a01-8b00-000000000006" ] }'

For recipes in Recently deleted, up to 500 at a time. Ones that aren’t there are skipped. With an API key, it needs the recipes: write permission.

Media typeapplication/json
One of:

Back where they were.

object
action
required
string
Allowed values: restore
ids
required
Array<string>
>= 1 items <= 500 items

Done.

Media typeapplication/json
object
changed
required

How many it changed. Ones not there, or already that way, are skipped.

number

Example

{
"changed": 2
}

Nothing picked, or something else is off.

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.