---
title: Stop Test Result
slug: suite-documentation/stop-test-result
docTags: 
createdAt: 2026-06-04T11:43:31.024Z
---

The endpoint stops a running test plan. The user must provide the test plan ID in the path. If the plan is not running, the response will indicate that the action is not available.

***

### Endpoint Information

- **URL**: \<your-gateway-url>/stop/result
- **Method**: `POST`
- **Authentication**: Required (`Bearer Token`)

### Request Body

```javascript
{
  "results": [614,615,312]
}
```

### Request Body Parameters [#request-body-parameters](#)

| Field   | Type        | Description             |
| ------- | ----------- | ----------------------- |
| results | List\<Long> | List of test result IDs |

### Response Body [#error-codes](#)

```javascript
{
    "data": null,
    "errors": null
}
```

| Parameter | Type   | Description                                                                       |
| --------- | ------ | --------------------------------------------------------------------------------- |
| data      | Object | The payload of the response. In this case `null` since no extra data is returned. |

### Error Codes [#error-codes](#)

| HTTP Code | Error Message           | Description                                                                  |
| --------- | ----------------------- | ---------------------------------------------------------------------------- |
| 401       | `UNAUTHORIZED`          | The request lacks valid authentication credentials. Check your Bearer token. |
| `400`     | `INVALID_REQUEST`       | The request was malformed or contained errors.                               |
| `500`     | `INTERNAL_SERVER_ERROR` | An unexpected error occurred on the server side.                             |

### Example Request

```javascript
curl --location '<your-gateway-url>/stop/result' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ****' \
--data '{
  "results": [32963]
}'
```

