Skip to content

Move a bug to the Bin

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

The project owner’s alone (403 for a member). The bug stays 30 days in the Bin with its links, watchers and comments, then goes for good with them; POST /v1/bugs/{id}/restore brings it back, its number the same. Audited on the bug (bug/delete).

id
required
string format: uuid
X-Plune-Project
string

Which of your projects to act in — an id from GET /v1/projects. Absent, your default project. A project you are not a member of answers 404, the same as one that does not exist. Ignored under a bearer token, which is bound to the project it was minted in.

In the Bin

No / invalid token or session

You are not an owner of the project

No such bug in this project, or it is in the Bin already

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

Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). 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