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

# Kayıtları Silme

### Yol

DELETE /api/table/\{tableId}/record

### İstek

**Yol Parametreleri**

* tableId (string): Tablonun benzersiz tanımlayıcısı [(nasıl alınır)](/tr/api-doc/get-id#tableid).

**Sorgu Parametreleri**

* **recordIds (zorunlu)** [(nasıl alınır)](/tr/api-doc/get-id#recordid)
  * Açıklama: Silinecek Kayıt kimlikleri dizisi
  * Tür: Dizi
  * Örnek: `["rec123456", "rec789012"]`
  * Not: Her öğe, silinecek bir Kaydın kimliğini temsil eden bir dizedir.

#### Yanıt

**Başarılı Yanıt**

* Durum kodu: 200 OK
* Yanıt gövdesi: İçerik yok

#### Hata Yanıtları

* Durum kodu: 400 Bad Request: İstek parametresi biçim hatası veya zorunlu parametreler eksik.
* Durum kodu: 404 Not Found: Belirtilen tableId mevcut değil veya bazı Kayıt kimlikleri mevcut değil.

#### Örnek Kod

<CodeGroup>
  ```bash CURL theme={null}
  curl -X DELETE 'https://app.teable.ai/api/table/__tableId__/record?recordIds[]=rec123456&recordIds[]=rec789012' \
    -H 'Authorization: Bearer __token__'
  ```

  ```js JS SDK theme={null}
  import { configApi, deleteRecords } from '@teable/openapi';

  configApi({
    endpoint: 'https://app.teable.ai',
    token: '__token__',
  });

  await deleteRecords('__tableId__', ['rec123456', 'rec789012']);
  ```

  ```ts TypeScript theme={null}
  const response = await fetch('https://app.teable.ai/api/table/__tableId__/record?recordIds[]=rec123456&recordIds[]=rec789012', {
    method: 'DELETE',
    headers: {
      'Authorization': 'Bearer __token__'
    }
  });

  console.log(response.status); // Başarılıysa 200
  ```

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

  response = requests.delete(
      'https://app.teable.ai/api/table/__tableId__/record',
      headers={
          'Authorization': 'Bearer __token__'
      },
      params={
          'recordIds': ['rec123456', 'rec789012']
      }
  )

  print(response.status_code) # Başarılıysa 200
  ```
</CodeGroup>
