Returns a list of triggers associated with the current user and namespace. To get all triggers, send a GET request to /v2/functions/namespaces/$NAMESPACE_ID/triggers
.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
namespace_id |
string | True | The ID of the namespace to be managed. |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.functions.list_triggers(namespace_id="39f3ca")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.