Reset the primary user password of a PostgreSQL cluster
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"
}