ClustersApi
All URIs are relative to https://api.ionos.com/databases/postgresql
clusterPostgresVersionsGet
clusterPostgresVersionsGet(clusterId)
List PostgreSQL versions
Retrieves a list of all PostgreSQL versions available for this cluster including the current version.
Examples
Parameters
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
clustersDelete
clustersDelete(clusterId)
Delete a cluster
Delete a PostgreSQL cluster.
Examples
Parameters
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
clustersFindById
clustersFindById(clusterId)
Fetch a cluster
You can retrieve a PostgreSQL cluster by using its ID. This value can be found in the response body when a PostgreSQL cluster is created or when you GET a list of PostgreSQL clusters.
Examples
Parameters
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
clustersGet
clustersGet(opts)
List clusters
Retrieves a list of PostgreSQL clusters.
Examples
Parameters
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
clustersPatch
clustersPatch(clusterId, patchClusterRequest)
Patch a cluster
Patch attributes of a PostgreSQL cluster.
Examples
Parameters
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
clustersPost
clustersPost(createClusterRequest)
Create a cluster
Creates a new PostgreSQL cluster. If the fromBackup
field is populated, the new cluster will be created based on the given backup.
Examples
Parameters
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
postgresVersionsGet
postgresVersionsGet
List PostgreSQL versions
Retrieves a list of all available PostgreSQL versions.
Examples
Parameters
This endpoint does not need any parameter.
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
Last updated