Skip to main content

Reset the primary user password of a PostgreSQL cluster

Reviewed on · View on GitHub

You can generate a new password for the primary user (the user you specified when creating the cluster) of one of your PostgreSQL clusters within your space.

Permissions​

info

This action requires the following IAM (Identity and Access Management) permissions:

  • postgresql.cluster.resetPassword

API​

The PUT /postgresql/spaces/{spaceId}/clusters/{clusterId}/password/reset request generates a new password for the primary user of a PostgreSQL cluster. Once the request has been executed, the new password can be retrieved after a few seconds by calling the GET /postgresql/spaces/{spaceId}/clusters/{clusterId}/password route.

Example response​

{
"message": "Password reset in progress"
}

See the full specification

Was this page helpful?