post
https://api.linode.com//databases/postgresql/instances//suspend
Suspend a PostgreSQL Managed Database from your account, releasing idle resources and keeping only necessary data. All service data is lost if there are no backups available. This halts billing for the cluster.
-
The database's status needs to be
active. -
Akamai deletes suspended clusters after 180 days.
-
A successful request triggers a
database_suspendevent.
Permissions and scopes
To call this operation, you need the following:
-
Identity and access permissions. Your user needs these roles assigned. 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-suspend 123