---
title: "Deletes the Integration log drain with the provided `id` (deprecated)"
method: DELETE
path: "/v1/integrations/log-drains/{id}"
tags: ["logDrains"]
---

# Deletes the Integration log drain with the provided \`id\` (deprecated)

`DELETE /v1/integrations/log-drains/{id}`

## Request

- Base URL: `https://api.vercel.com`
- URL: `https://api.vercel.com/v1/integrations/log-drains/{id}`
- Auth: HTTP bearer

Deletes the Integration log drain with the provided `id`. When using an OAuth2 Token, the log drain can be deleted only if the integration owns it.

## Path parameters

- `id` string, required: ID of the log drain to be deleted

## Query parameters

- `teamId` string
- `slug` string

## Response `204`

The log drain was successfully deleted

## Other responses

- `400`: One of the provided values in the request query is invalid.
- `401`: The request is not authorized.
- `403`: You do not have permission to access this resource.
- `404`
- `410`

## Changes

- **2026-07-21** `2ae10ee9d21c`: 1 info
  - added the non-success response with the status `410`
- **2025-03-19** `37b482c58c92`: 3 info
  - api operation id `deleteLogDrain` removed and replaced with `deleteIntegrationLogDrain`
  - added the new optional `query` request parameter `slug`
  - added the non-success response with the status `401`

[Operation history](https://skmtc.dev/vercel/apis/vercel-api/changes/v1/integrations/log-drains/:id/delete.md)

---

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