To retrieve the status of a reserved IP action, send a GET request to /v2/reserved_ips/$RESERVED_IP/actions/$ACTION_ID
.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
reserved_ip |
string | True | A reserved IP address. | |
action_id |
integer | True | A unique numeric ID that can be used to identify and reference an action. |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.reserved_ips_actions.get(reserved_ip="45.55.96.47")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.