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

# Delete Data Sources

> Delete one or more data sources

Delete one or more data sources from your Guru.

## Path Parameters

<ParamField path="guru_slug" type="string" required>
  The slug of the Guru to delete data sources from
</ParamField>

## Headers

<ParamField header="x-api-key" type="string" required>
  Your API key for authentication. You can obtain your API key from the [Gurubase dashboard](https://app.gurubase.io/api-keys).
</ParamField>

### Body Parameters

<ParamField body="ids" type="number[]" required>
  Array of data source IDs to delete (e.g., \[3268, 3273])
</ParamField>

### Response

<ResponseField name="msg" type="string">
  Status message for the operation
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
      "msg": "Data sources deleted successfully"
  }
  ```

  ```json 400 theme={null}
  {
      "msg": "Invalid request parameters"
  }
  ```

  ```json 401 theme={null}
  {
      "msg": "Invalid API key"
  }
  ```

  ```json 429 theme={null}
  {
      "msg": "Request was throttled. Expected available in 56 seconds."
  }
  ```
</ResponseExample>
