---
title: "POST /experimental/sandbox-lease/running/{workflowId}/{activityId}/stop"
method: POST
path: "/experimental/sandbox-lease/running/{workflowId}/{activityId}/stop"
tags: ["Capacity"]
---

# POST /experimental/sandbox-lease/running/{workflowId}/{activityId}/stop

`POST /experimental/sandbox-lease/running/{workflowId}/{activityId}/stop`

Deprecated — replaced by POST /capacity-lease/:leaseId/stop. Stops the sandbox attached to a running lease.

## Path parameters

- `workflowId` string, required
- `activityId` string, required

## Headers

- `Authorization` string

## Response `204`

Default Response

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-09-15** `d50a02b79ad3` — 2 info
  - added the optional property `error/code` to the response with the `403` status
  - added the optional property `error/url` to the response with the `403` status

[Change history](https://skmtc.dev/tessl/apis/tessl-api/changes/experimental/sandbox-lease/running/:workflowId/:activityId/stop/post.md)

---

[API](https://skmtc.dev/tessl/apis/tessl-api.md) · [All operations](https://skmtc.dev/tessl/apis/tessl-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tessl/apis/tessl-api/revisions/6da83f4191fc?raw)
