post
https://api.linode.com//databases/postgresql/instances//credentials/reset
Reset the root password for a PostgreSQL Managed Database. A new root password is randomly generated and accessible with the Get PostgreSQL Managed Database credentials operation.
-
The database's status needs to be
active. -
It may take several seconds for credentials to reset.
Permissions and scopes
To call this operation, you need permissions, based on the model you're using:
-
Identity and access permissions. Your user needs a role with these permissions. Learn more.
- Roles:
database_admin
- Roles:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
databases:read_write
- Scopes:
CLI
linode-cli databases postgresql-creds-reset 123