Delete a test plan
Code Mode: praxis.devops.testPlans.delete
HTTP: DELETE /devops/v1/test-plans/{id}
Delete a plan so it schedules nothing further. The plan stops firing immediately; runs it already produced keep their own record and are not deleted with it. To stop a plan temporarily and keep it for later, pause it instead — deleting cannot be undone and the plan’s key becomes free for another plan to take.
Signature
praxis.devops.testPlans.delete(args:{path:{/** e.g. "tpl_01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ id:string}}):Promise<{/** True once the plan no longer schedules runs; it is the only outcome of this call. e.g. true */ deleted:boolean}>;Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | The plan identifier returned by a plan list or create answer. |
Responses
| Status | Content types | Description |
|---|---|---|
| 200 | application/json | The deletion result; deleted true means the plan no longer schedules runs. |
| 401 | application/json | The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying. |
| 403 | application/json | The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project’s organization. No cross-organization read is possible. |
| 404 | application/json | PLAN_NOT_FOUND means no plan with that id exists in this organization; list the project’s plans and use an id from that answer. |
| 500 | application/json | INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again. |