Skip to main content
POST
Enable or disable extension

Authorizations

X-API-Key
string
header
required

API key for authentication. Each key is bound to a specific account.

Path Parameters

database_id
string
required

Database ID (UUID) or short id (the database_id field, e.g. a1b2c3d4)

Body

application/json
name
string
required

Extension name from the allowlist (see GET /api/v1/databases/{database_id}/extensions)

Example:

"pgvector"

enabled
boolean
required

true to install, false to remove

Response

Extension updated

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"

Last modified on October 5, 2026