IONOS Cloud DBaaS icon

IONOS Cloud DBaaS

Manage IONOS Cloud Database as a Service (PostgreSQL, MongoDB, MariaDB, Redis). Developped with Love by Ascenzia (ascenzia.fr)

PostgreSQL → Delete

AI-generated

Summary

Deletes a PostgreSQL cluster, user, or database from an IONOS Cloud DBaaS cluster.

Inputs

  • postgresqlResource — Sub-resource to manage: cluster, user, or database. Default: cluster.
  • clusterId (required) — The unique ID of the PostgreSQL cluster.
  • username (required) — The username of the PostgreSQL user to delete.
  • databaseName (required) — The name of the PostgreSQL database to delete.

Output shape

{ success: true }

Returned upon successful deletion of the specified PostgreSQL resource.

Examples

Example 1: Delete a PostgreSQL cluster

Set postgresqlResource to 'cluster' and provide clusterId.

Links

Discussion