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

# Delete recordings

> Moves recordings to the space's trash.

## Path parameters

<ParamField path="space_id" type="integer" required>
  Space ID.
</ParamField>

## Request body

<ParamField body="audio_ids" type="integer[]" required>
  Recording IDs.
</ParamField>

## Response

Successful response: `200` with an empty body.

The recordings get `is_active: false` and appear in the [trash](/en/api-reference/audio/trash).

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST "https://api.aigenda.tech/api/spaces/1024/audio/delete_list/" \
    -H "Authorization: Bearer <access>" \
    -H "Content-Type: application/json" \
    -d '{
      "audio_ids": [
        51234,
        51235
      ]
    }'
  ```

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

  response = requests.post(
      "https://api.aigenda.tech/api/spaces/1024/audio/delete_list/",
      headers={"Authorization": "Bearer <access>"},
      json={
          "audio_ids": [51234, 51235],
      },
      timeout=30,
  )
  response.raise_for_status()
  print(response.status_code)
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch("https://api.aigenda.tech/api/spaces/1024/audio/delete_list/", {
    method: "POST",
    headers: { Authorization: "Bearer <access>", "Content-Type": "application/json" },
    body: JSON.stringify({
      "audio_ids": [
        51234,
        51235
      ]
    }),
  });
  console.log(response.status);
  ```
</RequestExample>

<ResponseExample>
  ```text 200 theme={null}
  Empty response body
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.