---
title: "Archive source"
method: DELETE
path: "/api/v1/sources/{sourceId}"
tags: ["Events"]
---

# Archive source

`DELETE /api/v1/sources/{sourceId}`

## Request

- Base URL: `https://api-docs.relin.app`
- URL: `https://api-docs.relin.app/api/v1/sources/{sourceId}`
- Auth: HTTP bearer

Archive a source and stop accepting new events for it.

## Path parameters

- `sourceId` string, required

## Response `200`

JSON response

- object
  - `ok` unknown

## Other responses

- `201`: JSON response
- `202`: JSON response
- `400`: Error response
- `401`: Error response
- `403`: Error response
- `404`: Error response

---

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