---
title: "Remove a test from a group"
method: DELETE
path: "/v1/groups/{groupId}/tests/{testId}"
tags: ["groups"]
---

# Remove a test from a group

`DELETE /v1/groups/{groupId}/tests/{testId}`

Remove a test from a test group. The group's prepTestId is left alone, because a preparation test does not have to be a member of the group it prepares. `removed` is `true` when a membership row was deleted, `false` when the test was not a member (idempotent).

## Path parameters

- `groupId` string, uuid, required
- `testId` string, uuid, required

## Headers

- `Authorization` string, required

## Response `200`

Idempotent removal result

- GroupsRemoveATestFromAGroupResponse200
  - `groupId` string, uuid, required
  - `testId` string, uuid, required
  - `removed` boolean, required

## Other responses

- `400` — Bad Request - Invalid input parameters
- `401` — Unauthorized - Invalid or missing API key
- `429` — Too Many Requests - Usage limit exceeded
- `500` — Internal Server Error
- `504` — Gateway Timeout - Test execution exceeded time limit

---

[API](https://skmtc.net/tester/apis/testerarmy-api.md) · [All operations](https://skmtc.net/tester/apis/testerarmy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tester/testerarmy-api/versions/d0302b4c4e0e/schema)
