> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapengine.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Vault Integration

> Delete a vault integration. Every credential that references it is removed as well.

## Overview

Deletes a vault integration owned by the caller. Every credential record that references this integration is cascaded and removed — any subsequent `authenticate` task action that pointed at those credentials will fail. The secrets inside your vault are not touched.

## Path Parameters

<ParamField path="id" type="string" required={true}>
  Integration ID (UUID).
</ParamField>

## Example Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X DELETE "https://api.scrapengine.io/api/v1/vault-integrations/5f8c6a74-5f2e-4f5a-9e58-5b9c3c7d2a11" \
    -H "Authorization: Bearer $SCRAPENGINE_API_KEY"
  ```

  ```javascript JavaScript theme={null}
  await fetch(
    "https://api.scrapengine.io/api/v1/vault-integrations/5f8c6a74-5f2e-4f5a-9e58-5b9c3c7d2a11",
    {
      method: "DELETE",
      headers: { "Authorization": `Bearer ${process.env.SCRAPENGINE_API_KEY}` },
    },
  );
  ```

  ```python Python theme={null}
  import requests

  requests.delete(
      "https://api.scrapengine.io/api/v1/vault-integrations/5f8c6a74-5f2e-4f5a-9e58-5b9c3c7d2a11",
      headers={"Authorization": f"Bearer {SCRAPENGINE_API_KEY}"},
  )
  ```
</CodeGroup>

## Response

### Success Response (204)

Empty body. Referencing credentials are removed atomically.

### Error Responses

| Status | Description                                       |
| ------ | ------------------------------------------------- |
| `401`  | Unauthorized — invalid or missing API key.        |
| `404`  | Integration not found or not owned by the caller. |
