Skip to content

Put a deleted suite back with everything that went with it

POST
/v1/suites/{id}/restore
curl --request POST \
--url https://beta-api.plune.ai/v1/suites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/restore \
--header 'Authorization: Bearer <token>'

The reverse of DELETE /v1/suites/{id}: the node and exactly the descendants and cases deleted with it (same timestamp) come back to their places; anything deleted separately stays deleted. For the account that owns the suite (Settings → Bin) and for the owner of the deployment; everyone else gets 404, the same 404 an unknown id gets. GET /v1/bin shows the suite as one entry with what went along.

id
required
string format: uuid

Restored

Media type application/json
object
id
required
string
restored
required
boolean
Example generated
{
"id": "example",
"restored": true
}

No / invalid token or session

No such deleted suite in the caller’s project (the deployment owner reaches every project)

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

Rate-limited: either the per-route throttle or a tenant quota. Retry-After carries the seconds until the window rolls over.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over