PATCH
/
v1
/
organizations
/
{organizationSlug}
/
databases
/
{databaseName}
/
configuration

Path Parameters

organizationSlug
string
required

The slug of the organization or user account.

databaseName
string
required

The name of the database.

Body

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

Block all database reads.

block_writes
boolean

Block all database writes.

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.