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

# Eliminar registro

> Elimina permanentemente un registro de un tablero.

Elimina un registro y su historial.

## Endpoint

```text theme={null}
DELETE /databases/{databaseId}/records/{recordId}
```

<Danger>
  Esta operación es permanente. Guarda cualquier información que necesites conservar antes de ejecutarla.
</Danger>

## Ejemplo de solicitud

```bash theme={null}
curl -X DELETE "https://api.insuranceboosters.com/api/v1/databases/{databaseId}/records/{recordId}" \
  -H "x-ib-api-key: TU_API_KEY"
```

## Respuesta exitosa (`204`)

La respuesta no incluye body.

## Errores frecuentes

| HTTP  | Qué significa                        | Qué hacer                                 |
| ----- | ------------------------------------ | ----------------------------------------- |
| `404` | El tablero o el registro no existe.  | Confirma ambos IDs.                       |
| `500` | No fue posible eliminar el registro. | Reintenta; si continúa, contacta soporte. |


## OpenAPI

````yaml openapi/tableros-v1.yaml DELETE /databases/{databaseId}/records/{recordId}
openapi: 3.1.0
info:
  title: Insurance Boosters API — Tableros
  version: 1.0.0
  description: API pública para administrar tableros, campos, registros y archivos.
  license:
    name: Propietaria
    url: https://insuranceboosters.com
servers:
  - url: https://api.insuranceboosters.com/api/v1
    description: Producción
security:
  - IbApiKey: []
tags:
  - name: Tableros
    description: Administración de tableros.
  - name: Campos
    description: Configuración del esquema de un tablero.
  - name: Registros
    description: Lectura y escritura de registros.
  - name: Archivos
    description: Archivos adjuntos a registros.
paths:
  /databases/{databaseId}/records/{recordId}:
    parameters:
      - $ref: '#/components/parameters/DatabaseId'
      - $ref: '#/components/parameters/RecordId'
    delete:
      tags:
        - Registros
      summary: Eliminar registro
      operationId: deleteDatabaseRecord
      responses:
        '204':
          description: Registro eliminado.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    DatabaseId:
      name: databaseId
      in: path
      required: true
      description: ID del tablero.
      schema:
        type: string
    RecordId:
      name: recordId
      in: path
      required: true
      description: ID del registro.
      schema:
        type: string
  responses:
    Unauthorized:
      description: API key inválida o faltante.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Recurso no encontrado.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalError:
      description: Error del servicio.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        message:
          type: string
        error:
          type: string
      additionalProperties: false
  securitySchemes:
    IbApiKey:
      type: apiKey
      in: header
      name: x-ib-api-key
      description: API key de Insurance Boosters.

````