Skip to main content
PATCH
Rename a database

Authorizations

Authorization
string
header
required

Secret API key, created in the dashboard under Settings → API. Send it as Authorization: Bearer rk_secret_… from your server only. Publishable keys (pk_live_…) are for the native SDKs and reach the capture endpoints alone. An unknown key returns 401.

Path Parameters

id
string
required

Database id — stable across re-uploads.

Pattern: ^[A-Za-z0-9_-]{1,64}$
Example:

"db_01hz3k9m2q"

Body

application/json
name
string
required
Required string length: 1 - 80

Response

Renamed database.

id
string
required
Pattern: ^[A-Za-z0-9_-]{1,64}$
name
string
required
Required string length: 1 - 80
columns
string[]
required
rows
string[][]
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
source
enum<string>
required
Available options:
csv
identifier_column
string