Postgres Clusters

Create Database

Changed on

Create a database within a specific cluster.

post/v1/postgres/{postgres_cluster_id}/databases

Request

  • Base URL
    https://api.machines.dev
  • URL
    https://api.machines.dev/v1/postgres/{postgres_cluster_id}/databases
  • Auth
    HTTP bearer

Path parameters

postgres_cluster_idstring required

Managed Postgres Cluster ID

Request body

namestring required

Name of the database to create. Must start and end with an alphanumeric character and may contain hyphens and underscores, up to 63 characters.

Example request

{
  "name": "customer_data"
}

Response

Created

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      the endpoint scheme security FlyBearerAuth was removed from the API