# IONOS Cloud DBaaS PostgreSQL API

The IONOS Cloud Database as a Service (DBaaS) PostgreSQL API lets you provision and manage highly available PostgreSQL clusters, configure backups, and handle access and privileges.

## PostgreSQL API Versions

DBaaS PostgreSQL offers two versions of the PostgreSQL API. **Version 2 (2.0.0)** is the modern, future-proof, and developer-friendly standard, while **Version 1 (1.0.0)** is the legacy implementation.

{% hint style="warning" %}
**Important:** The **PostgreSQL v1** API will be deprecated in an upcoming release. All existing clusters operating on the v1 version will be automatically migrated to the v2 version as part of this process. No user action is required. For more information, see [<mark style="color:blue;">Version comparison</mark>](https://docs.ionos.com/cloud/databases/postgresql/v1-v2-api-versions#version-comparison).
{% endhint %}

{% hint style="info" %}
**Note:** **PostgreSQL v1** and **PostgreSQL v2** refer to IONOS Cloud's DBaaS API versions, not PostgreSQL software versions.
{% endhint %}

## What Can You Do with the PostgreSQL APIs?

The PostgreSQL API lets you manage PostgreSQL database clusters programmatically using standard `HTTPS` requests.

You can also use the PostgreSQL API to:

* Modify cluster attributes.
* Manage user access and databases.
* Restore database clusters from backups.
* Query supported PostgreSQL versions.
* Access cluster logs.

## Quick Links

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>PostgreSQL API Versions</strong></mark></td><td>Learn about PostgreSQL v1 and v2 APIs and their capabilities.</td><td><a href="api/v1-v2-api-versions">v1-v2-api-versions</a></td></tr><tr><td><mark style="color:blue;"><strong>PostgreSQL v2 API</strong></mark></td><td>Learn how to create, manage, and delete PostgreSQL clusters using the PostgreSQL v2 Cloud API.</td><td><a href="api/v2-api">v2-api</a></td></tr><tr><td><mark style="color:blue;"><strong>PostgreSQL v1 API</strong></mark></td><td>Learn how to manage MongoDB replica set clusters, users, and backups with the PostgreSQL v1 REST API.</td><td><a href="api/v1-api">v1-api</a></td></tr></tbody></table>
