Take a source off a mission
DELETE
/v1/missions/{id}/sources/{sourceId}
const url = 'https://beta-api.plune.ai/v1/missions/example/sources/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
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/missions/example/sources/example \ --header 'Authorization: Bearer <token>'The source goes from the mission; the page, the file or the ticket it named is not touched. A person, or a token without X-Plune-Session: an agent is refused (403 agent_cannot_delete), as on every DELETE.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
The mission’s id
sourceId
required
string
The source’s id
Responses
Section titled “ Responses ”Taken off
No / invalid token or session
You are in the project as a reader, the token is read-only, or an agent (agent_cannot_delete)
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}No such mission in your project, or no such source on it
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"}Headers
Section titled “Headers ” Retry-After
integer
Seconds until the window rolls over