pydo.droplets.get_backup_policy()
Generated on 12 Jun 2025
from pydo
version
v0.11.0
Description
To show information about an individual Droplet’s backup policy, send a GET
request to /v2/droplets/$DROPLET_ID/backups/policy
.
Parameters
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
droplet_id |
integer | True | A unique identifier for a Droplet instance. |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.droplets.get_backup_policy(droplet_id=444909706)
More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.