---
title: "Remove a case from a plan"
method: DELETE
path: "/api/plans/{planId}/cases/{caseId}"
tags: ["Test Plans"]
---

# Remove a case from a plan

`DELETE /api/plans/{planId}/cases/{caseId}`

## Request

- Base URL: `https://aximo.autify.com`
- URL: `https://aximo.autify.com/api/plans/{planId}/cases/{caseId}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/autify/apis/aximo-api/docs/api/plans/:planId/cases/:caseId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes a test case from a plan. Idempotent.

## Path parameters

- `planId` string, uuid, required
- `caseId` string, uuid, required

## Response `200`

Case removed from the plan.

- object
  - `success` boolean, required

## Other responses

- `400`: Invalid plan or case ID.
- `401`: Missing or invalid API key.
- `404`: Plan not found.
- `429`: Rate limit exceeded — e.g. the daily session limit was reached for the organization, or too many API requests were sent in a short window (retry after the number of seconds in the `Retry-After` header).
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/autify/apis/aximo-api.md) - [All operations](https://skmtc.dev/autify/apis/aximo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/autify/apis/aximo-api/revisions/590722011284?raw)
