To retrieve all actions that have been executed on a reserved IP, send a GET request to /v2/reserved_ips/$RESERVED_IP/actions
.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
reserved_ip |
string | True | A reserved IP address. |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.reserved_ips_actions.list(reserved_ip="45.55.96.47")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.
The results will be returned as a JSON object with an actions
key. This will be set to an array filled with action objects containing the standard reserved IP action attributes.
Unauthorized
The resource was not found.
API Rate limit exceeded
Server error.
Unexpected error