---
title: "Stop test case generation"
method: POST
path: "/api/v1/tcg/{id}/stop"
tags: ["TCG"]
---

# Stop test case generation

`POST /api/v1/tcg/{id}/stop`

## Request

- Base URL: `https://toolkit.browserstack.com`
- URL: `https://toolkit.browserstack.com/api/v1/tcg/{id}/stop`
- Auth: API key in cookie `_wdt_rails_session`

Stops an in-progress test case generation request

## Path parameters

- `id` string, required

## Response `200`

Test case generation stopped successfully

- object
  - `message` string

## Other responses

- `401`: Unauthorized
- `422`: Unprocessable entity - operation failed

---

[API](https://skmtc.dev/birdeatsbug/apis/wdt-rails-api.md) - [All operations](https://skmtc.dev/birdeatsbug/apis/wdt-rails-api/llms.txt) - [OpenAPI document](https://skmtc.dev/birdeatsbug/apis/wdt-rails-api/revisions/cbd06b547b6a?raw)
