GET
/
v1
/
organizations
/
{organizationName}
/
databases
/
{databaseName}
/
configuration
curl -L -X GET 'https://api.turso.tech/v1/organizations/{organizationName}/databases/{databaseName}/configuration' \
  -H 'Authorization: Bearer TOKEN'
{
  "size_limit": "10000",
  "allow_attach": true,
  "block_reads": true,
  "block_writes": true
}
curl -L -X GET 'https://api.turso.tech/v1/organizations/{organizationName}/databases/{databaseName}/configuration' \
  -H 'Authorization: Bearer TOKEN'

Path Parameters

organizationName
string
required

The name of the organization or user.

databaseName
string
required

The name of the database.

Response

200 - application/json
size_limit
string

The maximum size of the database in bytes. Values with units are also accepted, e.g. 1mb, 256mb, 1gb.

allow_attach
boolean

Allow or disallow attaching databases to the current database.

block_reads
boolean

The current status for blocked reads.

block_writes
boolean

The current status for blocked writes.