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

# Delete source

> Delete a source by its id.

<Note>
  **Key type:** requires a private key. A public key returns `403` here, because it may only
  upload — see [key types and scope](/docs/api-reference/introduction#key-types-and-scope). Call
  this from your server, never from browser code.
</Note>

<RequestExample>
  ```bash cURL theme={null}
  curl --request DELETE \
    --url 'https://upload.autorender.io/api/v1/sources/974628c2-9b55-4ce4-adf1-9b63edff6baa' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 204 theme={null}
  ```

  ```json 404 theme={null}
  {
    "error": "Source not found"
  }
  ```

  ```json 401 theme={null}
  {
    "success": false,
    "error": "Invalid API key.",
    "message": "The provided API key is invalid, inactive, or has been deleted"
  }
  ```
</ResponseExample>

## Overview

Removes the source identified by **`sourceId`**. The request needs no body and returns `204 No Content` on success.

## Path parameters

| Parameter  | Description                |
| ---------- | -------------------------- |
| `sourceId` | Source id (UUID) to delete |

## Next steps

<CardGroup cols={2}>
  <Card title="List sources" icon="list" iconType="solid" href="/docs/api-reference/list-sources">
    Browse the sources that remain in your workspace.
  </Card>

  <Card title="Create source" icon="plus" iconType="solid" href="/docs/api-reference/create-source">
    Add a new source.
  </Card>
</CardGroup>
