---
title: "Stop stream"
method: POST
path: "/v1/tokens/{tokenName}/stop-stream"
tags: ["stream-actions"]
---

# Stop stream

`POST /v1/tokens/{tokenName}/stop-stream`

## Request

- Base URL: `https://lpad-backend.stage.defi.ovh.gala.com`
- URL: `https://lpad-backend.stage.defi.ovh.gala.com/v1/tokens/{tokenName}/stop-stream`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/gala/apis/launchpad-backend-api/docs/v1/tokens/:tokenName/stop-stream/post.ts> (a function with typed inputs; its response is checked against the schema)

Stop the current stream

## Response `default`

Shared error envelope for stream stop failures.

- union: Global HttpException bodies use status/error/message. CustomError and unhandled exception bodies use statusCode/message. /bundle errors use status/error/message.
  - object
    - `error` true, required
    - `message` union, required
      - string
      - string[]
    - `status` integer, required: HTTP status code.
  - object
    - `message` string, required
    - `statusCode` integer, required: HTTP status code.

## Other responses

- `401`: Unauthorized - missing or invalid JWT token in Authorization header
- `403`: Forbidden - user lacks STOP_STREAM permission or user is banned
- `404`: Token not found or stream not currently active
- `500`: Internal server error - Mux API failure or database error while stopping stream

---

[API](https://skmtc.dev/gala/apis/launchpad-backend-api.md) - [All operations](https://skmtc.dev/gala/apis/launchpad-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gala/apis/launchpad-backend-api/revisions/74545971be2b?raw)
