pydo.droplets.list_backup_policies()
Generated on 18 Nov 2025
from pydo version
v0.21.0
Description
To list information about the backup policies for all Droplets in the account,
send a GET request to /v2/droplets/backups/policies.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
per_page |
integer | False | Number of items returned per page | 20 |
page |
integer | False | Which ‘page’ of paginated results to return. | 1 |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.droplets.list_backup_policies()More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.