Withdraw the open request
const url = 'https://beta-api.plune.ai/v1/projects/example/handover';const options = {method: 'DELETE', headers: {cookie: 'plune_session=<plune_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://beta-api.plune.ai/v1/projects/example/handover \ --cookie plune_session=<plune_session>The owner only: the open handover of the project becomes cancelled, and the member asked can no longer accept it; both are told by mail. Nothing waiting is 404. The signed-in session alone: an API token gets 403 session_required — the owner holds the secrets, and a CI token neither asks for, answers nor reads a handover. Recorded as the request is.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”An id from GET /v1/projects
Responses
Section titled “ Responses ”Withdrawn
No / invalid session
Somebody in the project who is not its owner, or an API token
object
Examples
{ "error": "project owner only", "code": "owner_only"}{ "error": "a handover takes the signed-in session — an API token neither asks for, answers nor reads one", "code": "session_required"}No such project among yours, or no request of it waiting
object
Example
{ "error": "no handover of this project is waiting for an answer"}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.
object
Example generated
{ "error": "example"}Headers
Section titled “Headers ”Seconds until the window rolls over