---
title: "Close a browser and return confirmed unused allowance"
method: DELETE
path: "/v1/sessions/{id}"
---

# Close a browser and return confirmed unused allowance

`DELETE /v1/sessions/{id}`

## Request

- Base URL: `https://api.tabfleet.com`
- URL: `https://api.tabfleet.com/v1/sessions/{id}`
- Auth: HTTP bearer

Close a browser and return confirmed unused allowance. Authenticate with a workspace API key. See the linked API documentation for permissions and error recovery.

## Response `200`

Closed

- Session
  - `id` string, uuid, required
  - `status` 'creating' | 'active' | 'closing' | 'closed' | 'failed', required
  - `createdAt` string, date-time, required
  - `expiresAt` string, date-time, required
  - `endedAt` string, date-time, nullable, required
  - `idleTimeoutSeconds` integer, required
  - `closeReason` string, nullable, required
  - `allocatedSeconds` integer, required

## Other responses

- `202`: Cleanup is still pending
- `429`: Throttled or temporarily capacity constrained. Honor Retry-After and inspect the JSON error code.
- `default`: Error. Respect Retry-After when supplied; do not blindly retry mutations.

---

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