database

Create logical database

Creates a new logical database for the Managed Database service {uuid}.

post/1.3/database/{uuid}/databases

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/database/{uuid}/databases
  • Auth: HTTP bearer

Path parameters

uuidstring uuid required

The unique identifier for the integration.

Example:01234567-89ab-cdef-0123-456789abcdef

Service UUID

Request body

namestring required

logical database name

lc_collatestring

Collation order

lc_ctypestring

Category of a locale definition source file

Example request

{
  "name": "my_database",
  "lc_collate": "en_US.UTF-8",
  "lc_ctype": "en_US.UTF-8"
}

Response

Created

namestring

The name of the logical database.

lc_collatestring

The LC_COLLATE setting of the logical database.

lc_ctypestring

The LC_CTYPE setting of the logical database.

Example response

{
  "name": "postgres",
  "lc_collate": "en_US.UTF-8",
  "lc_ctype": "en_US.UTF-8"
}

Changes

No recorded changes to this operation across all 1 revision of this API.