Skip to main content
POST
Enable Extension

Authorizations

Authorization
string
header
required

A Fly API token with access to the requested organization or resource. Send it as Authorization: Bearer <Fly API token>.

Path Parameters

postgres_cluster_id
string
required

Managed Postgres Cluster ID

database_name
string
required

Database Name

Body

application/json

Extension details

name
string
required

Extension to enable.

Example:

"citext"

create_schema
boolean

Create the schema first if it does not exist.

schema
string

Schema to install the extension into. Defaults to the database's default schema.

Response