# DigitalOcean integration

> Cloud infrastructure API for Droplets, App Platform, managed databases, Kubernetes, networking, DNS, storage, and monitoring.

- Authentication: apiKey

## Tools (250)

- **Act on Tagged Droplets**: Run a bulk action on all Droplets with a given tag.
- **Add a Database User**: Add a new user to a database cluster.
- **Add a New Connection Pool (PostgreSQL)**: Create a PgBouncer connection pool for a PostgreSQL cluster.
- **Add a New Database to a Cluster**: Add a new database to an existing cluster.
- **Add a Node Pool to a Cluster**: Add a new node pool to a cluster.
- **Add Droplets to a Firewall**: Assign Droplets to a cloud firewall. Returns 204.
- **Add Droplets to a Load Balancer**: Assign Droplets to a load balancer as targets. Returns 204.
- **Add Forwarding Rules to a Load Balancer**: Add forwarding rules to a load balancer. Returns 204.
- **Add Resources to a Tag**: Tag one or more resources. Returns 204.
- **Add Rules to a Firewall**: Add inbound and/or outbound rules to a firewall. Returns 204.
- **Add Tags to a Firewall**: Assign tags (covering all tagged Droplets) to a firewall. Returns 204.
- **Assign Resources to a Project**: Assign one or more resources to a project by URN.
- **Assign Resources to the Default Project**: Assign one or more resources to the default project by URN.
- **Cancel a Deployment**: Immediately cancel an in-progress app deployment.
- **Commit an App Rollback**: Commit a previously initiated app rollback, unpinning the app. No body.
- **Configure a Database Cluster's Maintenance Window**: Set the weekly window when automatic maintenance is performed.
- **Configure the Eviction Policy**: Set the eviction policy for a Redis/Valkey cluster.
- **Create a Container Registry**: Create the account's container registry (one per account).
- **Create a Custom Image**: Create a new custom image by importing a Linux image from a URL.
- **Create a Function Namespace**: Create a serverless Functions namespace in a region.
- **Create a Function Trigger**: Create a scheduled (cron) trigger for a function.
- **Create an Alert Policy**: Create a metric alert policy on Droplets (by ID) and/or tags.
- **Create an App Deployment**: Pull the latest changes from the app's repository and schedule a new deployment.
- **Create a New App**: Create a new App Platform app from an app specification.
- **Create a New Block Storage Volume**: Create a new block storage volume, blank or from a snapshot.
- **Create a New CDN Endpoint**: Create a CDN endpoint backed by a DigitalOcean Space.
- **Create a New Certificate**: Upload a custom TLS certificate or request a Let's Encrypt one.
- **Create a New Database Cluster**: Create a managed database cluster (PostgreSQL, MySQL, Caching/Redis, MongoDB, Kafka, or OpenSearch).
- **Create a New Domain**: Add a domain to DigitalOcean DNS.
- **Create a New Domain Record**: Create a DNS record on a domain.
- **Create a New Droplet**: Create a new Droplet (virtual machine) from an image.
- **Create a New Firewall**: Create a cloud firewall with inbound/outbound rules.
- **Create a New Kubernetes Cluster**: Create a new DOKS cluster with one or more node pools. Provisioning is async; poll the cluster's status.state until running.
- **Create a New Load Balancer**: Create a new load balancer, targeting Droplets by ID or by tag.
- **Create a New Reserved IP**: Reserve a new IP, either assigned to a Droplet or reserved to a region.
- **Create a New SSH Key**: Add a new SSH public key to your DigitalOcean account.
- **Create a New Tag**: Create a new tag.
- **Create a New VPC**: Create a new VPC (private network) in a region.
- **Create a New VPC Peering**: Create a peering connection between two VPCs.
- **Create an Uptime Alert**: Create an alert on an uptime check that notifies via email and/or Slack.
- **Create an Uptime Check**: Create an uptime check that probes a target from selected regions.
- **Create a Project**: Create a new project to organize resources.
- **Create a Read-only Replica**: Create a read-only replica of a database cluster.
- **Create a Snapshot from a Volume**: Create a snapshot from a block storage volume.
- **Create a Spaces Access Key**: Create a new Spaces access key with optional bucket-scoped grants. The secret key is returned only once, at creation.
- **Delete a Block Storage Volume**: Delete a block storage volume by ID. Returns 204.
- **Delete a Block Storage Volume by Name**: Delete a block storage volume by its name and region. Returns 204.
- **Delete a CDN Endpoint**: Delete a specific CDN endpoint.
- **Delete a Certificate**: Delete a specific certificate.
- **Delete a Cluster and All Associated Resources**: Destroy a cluster and ALL associated load balancers, volumes, and volume snapshots. Irreversible. Requires header X-Dangerous: true. Returns 204.
- **Delete a Connection Pool (PostgreSQL)**: Delete a connection pool from a PostgreSQL cluster.
- **Delete a Container Registry**: Delete the account's container registry and all its data. Returns 204.
- **Delete a Database from a Cluster**: Delete a specific database within a cluster.
- **Delete a Domain**: Delete a DNS domain and its records.
- **Delete a Domain Record**: Delete a DNS record from a domain.
- **Delete a Firewall**: Delete a cloud firewall.
- **Delete a Function Namespace**: Delete a Functions namespace and all its assets.
- **Delete a Function Trigger**: Delete a scheduled function trigger. Returns 204.
- **Delete a Kubernetes Cluster**: Delete a Kubernetes cluster and its node pools. Returns 204.
- **Delete a Load Balancer**: Delete a load balancer. Returns 204.
- **Delete an Alert Policy**: Delete an alert policy. Returns 204.
- **Delete an App**: Delete an existing App Platform app and shut down its deployments.
- **Delete an Existing Droplet**: Delete a Droplet permanently.
- **Delete an Image**: Delete a private image. Returns 204.
- **Delete a Node**: Delete a single node from a node pool, optionally skipping drain and/or replacement. Returns 202.
- **Delete a Node Pool**: Delete a node pool and its nodes. Returns 204.
- **Delete an SSH Key**: Destroy a public SSH key from your account.
- **Delete an Uptime Alert**: Delete an uptime alert. Returns 204.
- **Delete an Uptime Check**: Delete an uptime check and its alerts. Returns 204.
- **Delete a Project**: Delete a project. It must contain no resources. Returns 204.
- **Delete a Repository Manifest**: Delete a manifest (and all tags pointing to it) by digest. Returns 204.
- **Delete a Repository Tag**: Delete a specific tag from a repository. Returns 204.
- **Delete a Reserved IP**: Release a reserved IP back to the pool.
- **Delete a Snapshot**: Delete a Droplet or volume snapshot. Returns 204.
- **Delete a Spaces Access Key**: Delete a Spaces access key. Returns 204.
- **Delete a Tag**: Delete a tag; it is removed from all tagged resources. Returns 204.
- **Delete a Volume Snapshot**: Delete a volume snapshot. Returns 204.
- **Delete a VPC**: Delete a VPC. Fails if it still contains member resources.
- **Delete a VPC Peering**: Delete a VPC peering. Returns an async action.
- **Delete Droplets by Tag**: Delete ALL Droplets assigned to a specific tag.
- **Destroy a Database Cluster**: Destroy a database cluster permanently.
- **Destroy a Droplet and All Associated Resources**: Immediately destroy a Droplet and ALL of its associated resources (reserved IPs, snapshots, volumes, volume snapshots). Irreversible. Requires header X-Dangerous: true.
- **Destroy a Read-only Replica**: Destroy a specific read-only replica.
- **Get a Function Namespace**: Get details for a Functions namespace by UUID.
- **Get Container Registry Information**: Retrieve the account's container registry (name, region, tier, usage).
- **Get Customer Balance**: Retrieve the account balance, month-to-date usage, and generated-at time.
- **Get Registry Docker Credentials**: Retrieve a Docker config JSON for authenticating to the registry.
- **Get Registry Subscription**: Retrieve the registry's current subscription tier and details.
- **Get Uptime Check State**: Retrieve the current state of a check, including per-region status and previous outage.
- **Get User Information**: Show information about the current user account.
- **Initiate a Droplet Action**: Run an async action on a Droplet: power, reboot, resize, snapshot, rename, rebuild, and more.
- **Initiate an Image Action**: Initiate an image action: transfer an image to another region, or convert a snapshot into a backup image. Returns an async action.
- **Initiate a Reserved IP Action**: Assign a reserved IP to a Droplet or unassign it.
- **Initiate a Volume Action by ID**: Attach, detach, or resize a volume identified by ID. Returns an async action.
- **Initiate a Volume Action by Name**: Attach or detach a volume identified by name (and region). Returns an async action.
- **List 1-Click Applications**: List available 1-Click applications, optionally filtered by type.
- **List Actions for a Droplet**: List all actions that have been executed on a Droplet.
- **List Alert Policies**: List all metric alert policies on the account.
- **List All Actions**: List all actions taken on your account (async operation history).
- **List All Actions for an Image**: List all actions taken on an image.
- **List All Actions for a Reserved IP**: List all actions taken on a reserved IP.
- **List All Actions for a Volume**: List all actions taken on a volume.
- **List All App Alerts**: List alerts associated with an app and its components.
- **List All Apps**: List all App Platform apps on your account.
- **List All Block Storage Volumes**: List all block storage volumes, optionally filtered by name and/or region.
- **List All CDN Endpoints**: List all CDN endpoints on your account.
- **List All Certificates**: List all TLS certificates on your account.
- **List All Database Clusters**: List all managed database clusters on your account.
- **List All Databases in a Cluster**: List all databases within a cluster.
- **List All Database Users**: List all users for a database cluster.
- **List All Domain Records**: List DNS records for a domain, filterable by name and type.
- **List All Domains**: List all DNS domains in your account.
- **List All Droplets**: List all Droplets in your account, filterable by tag, name, or GPU type.
- **List All Firewalls**: List all cloud firewalls on your account.
- **List All Images**: List images (distributions, applications, snapshots, custom) available to your account.
- **List All Invoices**: Retrieve a list of all invoices on the account.
- **List All Kubernetes Clusters**: List all Kubernetes clusters on the account.
- **List All Load Balancers**: List all load balancers on the account.
- **List All Node Pools**: List all node pools in a cluster.
- **List All Projects**: List all projects on the account.
- **List All Read-only Replicas**: List read-only replicas of a database cluster.
- **List All Regions**: List all DigitalOcean datacenter regions and their available features/sizes.
- **List All Reserved IPs**: List all reserved IPs on the account.
- **List All Sizes**: List all available Droplet sizes (slug, memory, vcpus, disk, price).
- **List All Snapshots**: List all Droplet and volume snapshots on the account.
- **List All SSH Keys**: List all SSH keys in your account.
- **List All Tags**: List all tags and their resource counts.
- **List All Uptime Checks**: List all uptime checks on the account.
- **List All VPC Peerings**: List all VPC peerings on the account, optionally filtered by region.
- **List All VPCs**: List all VPCs on the account.
- **List App Deployments**: List all deployments of an app.
- **List App Instance Sizes**: List available App Platform instance sizes (slug, cpu, memory, price) for sizing components.
- **List App Regions**: List the App Platform regions available for deploying apps.
- **List Associated Resources for a Droplet**: List reserved IPs, snapshots, volumes, and volume snapshots associated with a Droplet that can be destroyed along with it.
- **List Associated Resources for Cluster Deletion**: List load balancers, volumes, and volume snapshots associated with a cluster that can be destroyed along with it.
- **List Available Kernels for a Droplet**: List all kernels available to a Droplet.
- **List Available Kubernetes Options**: List available Kubernetes versions, regions, and node sizes for creating clusters.
- **List Backups for a Database Cluster**: List available backups of a PostgreSQL or MySQL cluster.
- **List Backups for a Droplet**: List backups associated with a Droplet.
- **List Billing History**: Retrieve all billing history entries (invoices, payments, credits).
- **List Connection Pools (PostgreSQL)**: List PgBouncer connection pools for a PostgreSQL cluster.
- **List Database Cluster Events**: List the event logs (cluster create, resize, migrate, etc.) for a cluster.
- **List Database Firewall Rules**: List a database cluster's trusted-source firewall rules.
- **List Database Options**: List available regions, sizes, and versions for each database engine.
- **List Default Project Resources**: List all resources assigned to the default project.
- **List Firewalls for a Droplet**: List all firewalls a Droplet is assigned to.
- **List Function Namespaces**: List serverless Functions namespaces for the current user.
- **List Function Triggers**: List triggers in a Functions namespace.
- **List Neighbors for a Droplet**: List Droplets running on the same physical hardware as the given Droplet.
- **List Project Resources**: List all resources (by URN) assigned to a project.
- **List Registry Repositories**: List repositories in the registry (paginated V2 endpoint using a token cursor).
- **List Repository Manifests**: List all manifests (by digest) for a repository.
- **List Repository Tags**: List all tags for a repository.
- **List Snapshots for a Droplet**: List snapshots created from a Droplet.
- **List Snapshots for a Volume**: List all snapshots taken from a volume.
- **List Spaces Access Keys**: List all Spaces (S3-compatible object storage) access keys.
- **List Uptime Alerts**: List all alerts configured on an uptime check.
- **List VPC Members**: List the resources that are members of a VPC.
- **Migrate a Database Cluster to a New Region**: Migrate a database cluster to a different region.
- **Promote a Read-only Replica to Primary**: Promote a read-only replica to become its own primary cluster.
- **Propose an App Spec**: Validate a spec for a new or existing app and preview cost without modifying anything.
- **Purge the Cache for a CDN Endpoint**: Purge cached content from a CDN endpoint by file path.
- **Remove a Database User**: Remove a specific user from a database cluster.
- **Remove Droplets from a Firewall**: Remove Droplets from a cloud firewall. Returns 204.
- **Remove Droplets from a Load Balancer**: Remove Droplets from a load balancer's targets. Returns 204.
- **Remove Forwarding Rules from a Load Balancer**: Remove forwarding rules from a load balancer. Returns 204.
- **Remove Resources from a Tag**: Untag one or more resources. Returns 204.
- **Remove Rules from a Firewall**: Remove inbound and/or outbound rules from a firewall. Returns 204.
- **Remove Tags from a Firewall**: Remove tags from a firewall. Returns 204.
- **Reset a Database User's Password or Authentication**: Reset a database user's password or MySQL auth plugin.
- **Resize a Database Cluster**: Resize a database cluster's node size and count.
- **Restart an App**: Perform a rolling restart of all or specific components in an app.
- **Retrieve a Connection Pool**: Retrieve a single PgBouncer connection pool (PostgreSQL).
- **Retrieve Active Deployment Logs**: Retrieve logs for the app's active deployment, aggregated across components.
- **Retrieve a Database User**: Retrieve a single database user, including password and access settings.
- **Retrieve a Droplet Action**: Poll the status of a Droplet action.
- **Retrieve a Function Trigger**: Retrieve a single scheduled function trigger.
- **Retrieve an Alert Policy**: Retrieve a single alert policy by UUID.
- **Retrieve an App Deployment**: Retrieve information about a specific app deployment.
- **Retrieve an Existing Action**: Retrieve a single account action (async operation history) by ID.
- **Retrieve an Existing App**: Retrieve details about an app by ID or name, including active and in-progress deployments.
- **Retrieve an Existing CDN Endpoint**: Retrieve a single CDN endpoint by ID.
- **Retrieve an Existing Certificate**: Retrieve a single TLS certificate by ID.
- **Retrieve an Existing Database Cluster**: Show information about a database cluster including connection details and status.
- **Retrieve an Existing Domain**: Get details about a specific DNS domain.
- **Retrieve an Existing Domain Record**: Retrieve a specific DNS record.
- **Retrieve an Existing Droplet**: Show information about an individual Droplet.
- **Retrieve an Existing Firewall**: Show information about an existing firewall.
- **Retrieve an Existing Image**: Retrieve a single image by numeric ID or slug.
- **Retrieve an Existing Image Action**: Poll the status of an image action.
- **Retrieve an Existing Invoice**: Retrieve the line items for a single invoice.
- **Retrieve an Existing Kubernetes Cluster**: Retrieve a single Kubernetes cluster by UUID.
- **Retrieve an Existing Load Balancer**: Retrieve a single load balancer by ID.
- **Retrieve an Existing Project**: Retrieve a single project by ID.
- **Retrieve an Existing Reserved IP**: Retrieve a single reserved IP by address.
- **Retrieve an Existing Reserved IP Action**: Poll the status of a reserved IP action.
- **Retrieve an Existing Snapshot**: Retrieve a single snapshot by ID.
- **Retrieve an Existing SSH Key**: Get information about an SSH key by ID or fingerprint.
- **Retrieve an Existing Uptime Alert**: Retrieve a single uptime alert by ID.
- **Retrieve an Existing Uptime Check**: Retrieve a single uptime check by ID.
- **Retrieve an Existing Volume**: Retrieve a single block storage volume by ID.
- **Retrieve an Existing Volume Action**: Poll the status of a volume action.
- **Retrieve an Existing Volume Snapshot**: Retrieve a single volume snapshot by ID.
- **Retrieve an Existing VPC**: Retrieve a single VPC by ID.
- **Retrieve an Existing VPC Peering**: Retrieve a single VPC peering by ID.
- **Retrieve an Invoice Summary**: Retrieve a summary (totals, billing period, product charges) for an invoice.
- **Retrieve a Node Pool**: Retrieve a single node pool by ID.
- **Retrieve a Spaces Access Key**: Retrieve a single Spaces access key by its access key ID.
- **Retrieve a Tag**: Retrieve a single tag and its resource counts.
- **Retrieve Available Upgrades for a Cluster**: List the Kubernetes versions a cluster can be upgraded to.
- **Retrieve Credentials for a Cluster**: Retrieve the credentials (server, certificate authority, token, expiry) to authenticate to a cluster.
- **Retrieve Database Cluster Configuration**: Show engine configuration parameters for a database cluster.
- **Retrieve Droplet Metrics**: Retrieve time-series metrics for a Droplet.
- **Retrieve the Default Project**: Retrieve the account's default project.
- **Retrieve the Droplet Backup Policy**: Retrieve the backup policy (plan, weekday, hour, retention) for a Droplet.
- **Retrieve the Eviction Policy**: Retrieve the configured eviction policy for a Redis/Valkey cluster.
- **Retrieve the kubeconfig for a Cluster**: Retrieve the YAML kubeconfig file for a cluster (returned as text/yaml, not JSON).
- **Retrieve the Public Database CA Certificate**: Retrieve the base64-encoded CA certificate used to secure connections to the cluster.
- **Retrieve the SQL Mode**: Retrieve the configured SQL modes for a MySQL cluster.
- **Revert an App Rollback**: Revert (cancel) a previously initiated app rollback, unpinning the app. No body.
- **Rollback an App**: Roll an app back to a prior successful deployment. This pins the app; commit or revert afterward.
- **Start a Database Maintenance Update**: Immediately apply any pending maintenance updates to a cluster. Returns 204. No body.
- **Start an Online Migration**: Start migrating data from an existing source database into a DigitalOcean cluster. Poll status with GET .../online-migration and stop/cancel with DELETE .../online-migration/{migration_id}.
- **Start Garbage Collection**: Start a garbage-collection run to reclaim storage from untagged manifests. Only one active run is allowed.
- **Update a CDN Endpoint**: Update the TTL and/or custom certificate/domain of a CDN endpoint.
- **Update a Connection Pool**: Update a PostgreSQL connection pool's mode, size, database, and user.
- **Update a Domain Record**: Update an existing DNS record.
- **Update a Firewall**: Replace a firewall's full configuration.
- **Update a Function Trigger**: Update a scheduled function trigger's enabled state and/or schedule.
- **Update a Kubernetes Cluster**: Update cluster settings (name, tags, maintenance, upgrade options).
- **Update a Load Balancer**: Update a load balancer. Requires the full desired configuration — fetch, modify, and send the whole object.
- **Update an Alert Policy**: Update an alert policy (full update — same fields as create).
- **Update an App**: Update an app by submitting a new full app specification.
- **Update an Image**: Update the name, distribution, or description of an image.
- **Update a Node Pool**: Update a node pool's name, count, tags, labels, taints, or autoscale settings.
- **Update an SSH Key**: Rename an SSH key by its numeric ID or fingerprint.
- **Update an Uptime Alert**: Update an uptime alert's settings.
- **Update an Uptime Check**: Update an uptime check's name, type, target, regions, or enabled state.
- **Update a Project**: Update a project (full update — all fields required).
- **Update a Spaces Access Key**: Update a Spaces access key's name and/or grants (full replace).
- **Update a VPC**: Update a VPC's name, description, and default flag (full update).
- **Update a VPC Peering**: Rename a VPC peering.
- **Update Database Cluster Configuration**: Patch engine configuration parameters for a database cluster.
- **Update Database Firewall Rules**: Replace a database cluster's trusted-source firewall rules.
- **Update Registry Subscription Tier**: Change the registry's subscription tier.
- **Update the Default Project**: Update the default project (full update — all fields required).
- **Update the SQL Mode**: Set the SQL modes for a MySQL cluster.
- **Upgrade a Database Major Version**: Upgrade a cluster to a new major engine version. Returns 204.
- **Upgrade a Kubernetes Cluster**: Upgrade a cluster to a new patch or minor Kubernetes version. Returns 202.
- **Validate a Container Registry Name**: Check whether a container registry name is available/valid. Returns 204 if valid.

## Triggers (1)

- **New App Deployment in DigitalOcean**: Triggers when a new App Platform deployment is created. The phase filter is evaluated against each deployment's phase at poll time — a deployment that finishes after leaving the lookback window is missed.

## Related prompts

- [Weekly DigitalOcean waste audit into Linear tickets](https://www.generalinput.com/prompts/weekly-digitalocean-waste-audit-into-linear-tickets.md)
- [Nightly DigitalOcean Droplet snapshots with auto-cleanup](https://www.generalinput.com/prompts/nightly-digitalocean-droplet-snapshots-with-auto-cleanup.md)
- [Daily DigitalOcean infrastructure health digest in Slack](https://www.generalinput.com/prompts/daily-digitalocean-infrastructure-health-digest-in-slack.md)
- [Weekly DigitalOcean spend digest, in plain English](https://www.generalinput.com/prompts/weekly-digitalocean-spend-digest-in-plain-english.md)

Connect DigitalOcean in General Input: https://www.generalinput.com/apps/digitalocean