Skip to content

Undo a batch of decisions while it's in its undo window

The OpenAPI spec (JSON)Licence, versions and sign-in

POST
/api/v1/decisions/undo
curl --request POST \
--url https://deck.example.com/api/v1/decisions/undo \
--header 'Content-Type: application/json' \
--cookie qd_auth=<qd_auth> \
--data '{ "batch": "b_7f3a" }'
Media typeapplication/json
object
batch
required
string

Example

{
"batch": "b_7f3a"
}

No content

An error, with its message.

Media typeapplication/json

Every error the REST API returns, with an HTTP status.

object
error
required
string

Example generated

{
"error": "example"
}