DigitalOcean
Programmatically manage Droplets and other DigitalOcean resources using conventional HTTP requests.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| DigitalOcean OAuth API | oauth2 | available | — |
| Personal Access Token | api_key | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "DIGITALOCEAN_ACCOUNT_GET", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("DIGITALOCEAN_ACCOUNT_GET", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute DIGITALOCEAN_ACCOUNT_GET --data '{ }'Tool 目录
可用 Tools
649 个可调用操作
Get User InformationDIGITALOCEAN_ACCOUNT_GETTo show information about the current user account, send a GET request to `/v2/account`.需要连接1 scope
To show information about the current user account, send a GET request to `/v2/account`.
认证
需要 Connected AccountScopes
account:readTags
Retrieve an Existing ActionDIGITALOCEAN_ACTIONS_GETTo retrieve a specific action object, send a GET request to `/v2/actions/$ACTION_ID`.需要连接1 scope
To retrieve a specific action object, send a GET request to `/v2/actions/$ACTION_ID`.
认证
需要 Connected AccountScopes
actions:readTags
List All ActionsDIGITALOCEAN_ACTIONS_LISTThis will be the entire list of actions taken on your account, so it will be quite large. As with any large collection returned by the API, the results will be paginated with only 20 on each page by default.需要连接1 scope
This will be the entire list of actions taken on your account, so it will be quite large. As with any large collection returned by the API, the results will be paginated with only 20 on each page by default.
认证
需要 Connected AccountScopes
actions:readTags
Create/Provision a New Add-on ResourceDIGITALOCEAN_ADDONS_CREATETo create an add-on resource, send a POST request to `/v2/add-ons/saas` with required parameters. Some add-ons require additional metadata to be provided in the request body. To find out what metadata is required for a specific add-on, send a GET request to `/v2/add-ons/apps/{app_slug}/metadata`.需要连接1 scope
To create an add-on resource, send a POST request to `/v2/add-ons/saas` with required parameters. Some add-ons require additional metadata to be provided in the request body. To find out what metadata is required for a specific add-on, send a GET request to `/v2/add-ons/apps/{app_slug}/metadata`.
认证
需要 Connected AccountScopes
addon:createTags
Delete/Deprovision an Add-on ResourceDIGITALOCEAN_ADDONS_DELETETo delete an add-on resource, send a DELETE request to `/v2/add-ons/saas/{resource_uuid}` with the UUID of the resource to delete. You cannot retrieve the resource after it has been deleted. The response indicates a request was sent to the 3rd party add-on provider to delete the resource. You will no longer be billed for this resource.需要连接1 scope
To delete an add-on resource, send a DELETE request to `/v2/add-ons/saas/{resource_uuid}` with the UUID of the resource to delete. You cannot retrieve the resource after it has been deleted. The response indicates a request was sent to the 3rd party add-on provider to delete the resource. You will no longer be billed for this resource.
认证
需要 Connected AccountScopes
addon:deleteTags
Get details on an Add-On ResourceDIGITALOCEAN_ADDONS_GETTo fetch details of a specific Add-On Resource, send a GET request to `/v2/add-ons/saas/{resource_uuid}`. Replace `{resource_uuid}` with the UUID of the resource you want to retrieve.需要连接1 scope
To fetch details of a specific Add-On Resource, send a GET request to `/v2/add-ons/saas/{resource_uuid}`. Replace `{resource_uuid}` with the UUID of the resource you want to retrieve.
认证
需要 Connected AccountScopes
addon:readTags
List Available Add-On ApplicationsDIGITALOCEAN_ADDONS_GET_APPTo fetch details of all available Add-On Applications, send a GET request to `/v2/add-ons/apps`.需要连接
To fetch details of all available Add-On Applications, send a GET request to `/v2/add-ons/apps`.
认证
需要 Connected AccountTags
Get Metadata for an Add-On ApplicationDIGITALOCEAN_ADDONS_GET_APP_METADATATo find out what metadata is required for a specific add-on, send a GET request to `/v2/add-ons/apps/{app_slug}/metadata`. Metadata varies by application.需要连接
To find out what metadata is required for a specific add-on, send a GET request to `/v2/add-ons/apps/{app_slug}/metadata`. Metadata varies by application.
认证
需要 Connected AccountTags
List all Add-On ResourcesDIGITALOCEAN_ADDONS_LISTTo fetch all Add-On Resources under your team, send a GET request to `/v2/add-ons/saas`.需要连接1 scope
To fetch all Add-On Resources under your team, send a GET request to `/v2/add-ons/saas`.
认证
需要 Connected AccountScopes
addon:readTags
Update the name for an Add-On ResourceDIGITALOCEAN_ADDONS_PATCHTo change the name of an Add-On Resource, send a PATCH request to `/v2/add-ons/saas/{resource_uuid}`. Replace `{resource_uuid}` with the UUID of the resource for which you want to change the name.需要连接1 scope
To change the name of an Add-On Resource, send a PATCH request to `/v2/add-ons/saas/{resource_uuid}`. Replace `{resource_uuid}` with the UUID of the resource for which you want to change the name.
认证
需要 Connected AccountScopes
addon:updateTags
Update the plan for an Add-On ResourceDIGITALOCEAN_ADDONS_PATCH_PLANTo change the plan associated with an Add-On Resource, send a PATCH request to `/v2/add-ons/saas/{resource_uuid}/plan`. Replace `{resource_uuid}` with the UUID of the resource for which you want to change the plan.需要连接1 scope
To change the plan associated with an Add-On Resource, send a PATCH request to `/v2/add-ons/saas/{resource_uuid}/plan`. Replace `{resource_uuid}` with the UUID of the resource for which you want to change the plan.
认证
需要 Connected AccountScopes
addon:updateTags
Update destinations for alertsDIGITALOCEAN_APPS_ASSIGN_ALERT_DESTINATIONSUpdates the emails and slack webhook destinations for app alerts. Emails must be associated to a user with access to the app.需要连接1 scope
Updates the emails and slack webhook destinations for app alerts. Emails must be associated to a user with access to the app.
认证
需要 Connected AccountScopes
app:updateTags
Cancel a DeploymentDIGITALOCEAN_APPS_CANCEL_DEPLOYMENTImmediately cancel an in-progress deployment.需要连接1 scope
Immediately cancel an in-progress deployment.
认证
需要 Connected AccountScopes
app:updateTags
Cancel an EventDIGITALOCEAN_APPS_CANCEL_EVENTCancel an in-progress autoscaling event.需要连接1 scope
Cancel an in-progress autoscaling event.
认证
需要 Connected AccountScopes
app:updateTags
Cancel Job InvocationDIGITALOCEAN_APPS_CANCEL_JOB_INVOCATIONCancel a specific job invocation for an app.需要连接1 scope
Cancel a specific job invocation for an app.
认证
需要 Connected AccountScopes
app:updateTags
Commit App RollbackDIGITALOCEAN_APPS_COMMIT_ROLLBACKCommit an app rollback. This action permanently applies the rollback and unpins the app to resume new deployments.需要连接1 scope
Commit an app rollback. This action permanently applies the rollback and unpins the app to resume new deployments.
认证
需要 Connected AccountScopes
app:updateTags
Create a New AppDIGITALOCEAN_APPS_CREATECreate a new app by submitting an app specification. For documentation on app specifications (`AppSpec` objects), please refer to [the product documentation](https://docs.digitalocean.com/products/app-platform/reference/app-spec/).需要连接1 scope
Create a new app by submitting an app specification. For documentation on app specifications (`AppSpec` objects), please refer to [the product documentation](https://docs.digitalocean.com/products/app-platform/reference/app-spec/).
认证
需要 Connected AccountScopes
app:createTags
Create an App DeploymentDIGITALOCEAN_APPS_CREATE_DEPLOYMENTCreating an app deployment will pull the latest changes from your repository and schedule a new deployment for your app.需要连接1 scope
Creating an app deployment will pull the latest changes from your repository and schedule a new deployment for your app.
认证
需要 Connected AccountScopes
app:updateTags
Rollback AppDIGITALOCEAN_APPS_CREATE_ROLLBACKRollback an app to a previous deployment. A new deployment will be created to perform the rollback. The app will be pinned to the rollback deployment preventing any new deployments from being created, either manually or through Auto Deploy on Push webhooks. To resume deployments, the rollback must be either committed or reverted. It is recommended to use the Validate App Rollback endpoint to double check if the rollback is valid and if there are any warnings.需要连接1 scope
Rollback an app to a previous deployment. A new deployment will be created to perform the rollback. The app will be pinned to the rollback deployment preventing any new deployments from being created, either manually or through Auto Deploy on Push webhooks. To resume deployments, the rollback must be either committed or reverted. It is recommended to use the Validate App Rollback endpoint to double check if the rollback is valid and if there are any warnings.
认证
需要 Connected AccountScopes
app:updateTags
Delete an AppDIGITALOCEAN_APPS_DELETEDelete an existing app. Once deleted, all active deployments will be permanently shut down and the app deleted. If needed, be sure to back up your app specification so that you may re-create it at a later time.需要连接1 scope
Delete an existing app. Once deleted, all active deployments will be permanently shut down and the app deleted. If needed, be sure to back up your app specification so that you may re-create it at a later time.
认证
需要 Connected AccountScopes
app:deleteTags
Retrieve an Existing AppDIGITALOCEAN_APPS_GETRetrieve details about an existing app by either its ID or name. To retrieve an app by its name, do not include an ID in the request path. Information about the current active deployment as well as any in progress ones will also be included in the response.需要连接1 scope
Retrieve details about an existing app by either its ID or name. To retrieve an app by its name, do not include an ID in the request path. Information about the current active deployment as well as any in progress ones will also be included in the response.
认证
需要 Connected AccountScopes
app:readTags
Retrieve an App DeploymentDIGITALOCEAN_APPS_GET_DEPLOYMENTRetrieve information about an app deployment.需要连接1 scope
Retrieve information about an app deployment.
认证
需要 Connected AccountScopes
app:readTags
Get an EventDIGITALOCEAN_APPS_GET_EVENTGet a single event for an app.需要连接1 scope
Get a single event for an app.
认证
需要 Connected AccountScopes
app:readTags
Retrieve Event LogsDIGITALOCEAN_APPS_GET_EVENT_LOGSRetrieve the logs of an autoscaling event for an app.需要连接1 scope
Retrieve the logs of an autoscaling event for an app.
认证
需要 Connected AccountScopes
app:readTags
Retrieve Exec URL for DeploymentDIGITALOCEAN_APPS_GET_EXECReturns a websocket URL that allows sending/receiving console input and output to a component of the specified deployment if one exists. Optionally, the instance_name parameter can be provided to retrieve the exec URL for a specific instance. Note that instances are ephemeral; therefore, we recommended to avoid making persistent changes or such scripting around them.需要连接1 scope
Returns a websocket URL that allows sending/receiving console input and output to a component of the specified deployment if one exists. Optionally, the instance_name parameter can be provided to retrieve the exec URL for a specific instance. Note that instances are ephemeral; therefore, we recommended to avoid making persistent changes or such scripting around them.
认证
需要 Connected AccountScopes
app:access_consoleTags
Retrieve Exec URLDIGITALOCEAN_APPS_GET_EXEC_ACTIVE_DEPLOYMENTReturns a websocket URL that allows sending/receiving console input and output to a component of the active deployment if one exists.需要连接1 scope
Returns a websocket URL that allows sending/receiving console input and output to a component of the active deployment if one exists.
认证
需要 Connected AccountScopes
app:access_consoleTags
Retrieve App HealthDIGITALOCEAN_APPS_GET_HEALTHRetrieve information like health status, cpu and memory utilization of app components.需要连接1 scope
Retrieve information like health status, cpu and memory utilization of app components.
认证
需要 Connected AccountScopes
app:readTags
Retrieve an Instance SizeDIGITALOCEAN_APPS_GET_INSTANCE_SIZERetrieve information about a specific instance size for `service`, `worker`, and `job` components.需要连接1 scope
Retrieve information about a specific instance size for `service`, `worker`, and `job` components.
认证
需要 Connected AccountScopes
app:readTags
Retrieve App InstancesDIGITALOCEAN_APPS_GET_INSTANCESRetrieve the list of running instances for a given application, including instance names and component types. Please note that these instances are ephemeral and may change over time. It is recommended not to make persistent changes or develop scripts that rely on their persistence.需要连接1 scope
Retrieve the list of running instances for a given application, including instance names and component types. Please note that these instances are ephemeral and may change over time. It is recommended not to make persistent changes or develop scripts that rely on their persistence.
认证
需要 Connected AccountScopes
app:readTags
Get Job InvocationsDIGITALOCEAN_APPS_GET_JOB_INVOCATIONGet a specific job invocation for an app.需要连接1 scope
Get a specific job invocation for an app.
认证
需要 Connected AccountScopes
app:readTags
Retrieve Job Invocation LogsDIGITALOCEAN_APPS_GET_JOB_INVOCATION_LOGSRetrieve the logs of a past, in-progress, or active deployment. If a component name is specified, the logs will be limited to only that component. If deployment is omitted the active deployment will be selected (if available). The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment.需要连接1 scope
Retrieve the logs of a past, in-progress, or active deployment. If a component name is specified, the logs will be limited to only that component. If deployment is omitted the active deployment will be selected (if available). The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment.
认证
需要 Connected AccountScopes
app:readTags
Retrieve Deployment LogsDIGITALOCEAN_APPS_GET_LOGSRetrieve the logs of a past, in-progress, or active deployment. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment.需要连接1 scope
Retrieve the logs of a past, in-progress, or active deployment. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment.
认证
需要 Connected AccountScopes
app:readTags
Retrieve Active Deployment LogsDIGITALOCEAN_APPS_GET_LOGS_ACTIVE_DEPLOYMENTRetrieve the logs of the active deployment if one exists. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment. Note log_type=BUILD logs will return logs associated with the current active deployment (being served). To view build logs associated with in-progress build, the query must explicitly reference the deployment id.需要连接1 scope
Retrieve the logs of the active deployment if one exists. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment. Note log_type=BUILD logs will return logs associated with the current active deployment (being served). To view build logs associated with in-progress build, the query must explicitly reference the deployment id.
认证
需要 Connected AccountScopes
app:readTags
Retrieve Active Deployment Aggregate LogsDIGITALOCEAN_APPS_GET_LOGS_ACTIVE_DEPLOYMENT_AGGREGATERetrieve the logs of the active deployment if one exists. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment. Note log_type=BUILD logs will return logs associated with the current active deployment (being served). To view build logs associated with in-progress build, the query must explicitly reference the deployment id.需要连接1 scope
Retrieve the logs of the active deployment if one exists. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment. Note log_type=BUILD logs will return logs associated with the current active deployment (being served). To view build logs associated with in-progress build, the query must explicitly reference the deployment id.
认证
需要 Connected AccountScopes
app:readTags
Retrieve Aggregate Deployment LogsDIGITALOCEAN_APPS_GET_LOGS_AGGREGATERetrieve the logs of a past, in-progress, or active deployment. If a component name is specified, the logs will be limited to only that component. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment.需要连接1 scope
Retrieve the logs of a past, in-progress, or active deployment. If a component name is specified, the logs will be limited to only that component. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment.
认证
需要 Connected AccountScopes
app:readTags
Retrieve App Daily Bandwidth MetricsDIGITALOCEAN_APPS_GET_METRICS_BANDWIDTH_DAILYRetrieve daily bandwidth usage metrics for a single app.需要连接1 scope
Retrieve daily bandwidth usage metrics for a single app.
认证
需要 Connected AccountScopes
app:readTags
List All AppsDIGITALOCEAN_APPS_LISTList all apps on your account. Information about the current active deployment as well as any in progress ones will also be included for each app.需要连接1 scope
List all apps on your account. Information about the current active deployment as well as any in progress ones will also be included for each app.
认证
需要 Connected AccountScopes
app:readTags
List all app alertsDIGITALOCEAN_APPS_LIST_ALERTSList alerts associated to the app and any components. This includes configuration information about the alerts including emails, slack webhooks, and triggering events or conditions.需要连接1 scope
List alerts associated to the app and any components. This includes configuration information about the alerts including emails, slack webhooks, and triggering events or conditions.
认证
需要 Connected AccountScopes
app:readTags
List App DeploymentsDIGITALOCEAN_APPS_LIST_DEPLOYMENTSList all deployments of an app.需要连接1 scope
List all deployments of an app.
认证
需要 Connected AccountScopes
app:readTags
List App EventsDIGITALOCEAN_APPS_LIST_EVENTSList all events for an app, including deployments and autoscaling events.需要连接1 scope
List all events for an app, including deployments and autoscaling events.
认证
需要 Connected AccountScopes
app:readTags
List Instance SizesDIGITALOCEAN_APPS_LIST_INSTANCE_SIZESList all instance sizes for `service`, `worker`, and `job` components.需要连接1 scope
List all instance sizes for `service`, `worker`, and `job` components.
认证
需要 Connected AccountScopes
app:readTags
List Job InvocationsDIGITALOCEAN_APPS_LIST_JOB_INVOCATIONSList all job invocations for an app.需要连接1 scope
List all job invocations for an app.
认证
需要 Connected AccountScopes
app:readTags
Retrieve Multiple Apps' Daily Bandwidth MetricsDIGITALOCEAN_APPS_LIST_METRICS_BANDWIDTH_DAILYRetrieve daily bandwidth usage metrics for multiple apps.需要连接1 scope
Retrieve daily bandwidth usage metrics for multiple apps.
认证
需要 Connected AccountScopes
app:readTags
List App RegionsDIGITALOCEAN_APPS_LIST_REGIONSList all regions supported by App Platform.需要连接1 scope
List all regions supported by App Platform.
认证
需要 Connected AccountScopes
app:readTags
Restart an AppDIGITALOCEAN_APPS_RESTARTPerform a rolling restart of all or specific components in an app.需要连接1 scope
Perform a rolling restart of all or specific components in an app.
认证
需要 Connected AccountScopes
app:updateTags
Revert App RollbackDIGITALOCEAN_APPS_REVERT_ROLLBACKRevert an app rollback. This action reverts the active rollback by creating a new deployment from the latest app spec prior to the rollback and unpins the app to resume new deployments.需要连接1 scope
Revert an app rollback. This action reverts the active rollback by creating a new deployment from the latest app spec prior to the rollback and unpins the app to resume new deployments.
认证
需要 Connected AccountScopes
app:updateTags
Update an AppDIGITALOCEAN_APPS_UPDATEUpdate an existing app by submitting a new app specification. For documentation on app specifications (`AppSpec` objects), please refer to [the product documentation](https://docs.digitalocean.com/products/app-platform/reference/app-spec/).需要连接1 scope
Update an existing app by submitting a new app specification. For documentation on app specifications (`AppSpec` objects), please refer to [the product documentation](https://docs.digitalocean.com/products/app-platform/reference/app-spec/).
认证
需要 Connected AccountScopes
app:updateTags
Propose an App SpecDIGITALOCEAN_APPS_VALIDATE_APP_SPECTo propose and validate a spec for a new or existing app, send a POST request to the `/v2/apps/propose` endpoint. The request returns some information about the proposed app, including app cost and upgrade cost. If an existing app ID is specified, the app spec is treated as a proposed update to the existing app.需要连接1 scope
To propose and validate a spec for a new or existing app, send a POST request to the `/v2/apps/propose` endpoint. The request returns some information about the proposed app, including app cost and upgrade cost. If an existing app ID is specified, the app spec is treated as a proposed update to the existing app.
认证
需要 Connected AccountScopes
app:readTags
Validate App RollbackDIGITALOCEAN_APPS_VALIDATE_ROLLBACKCheck whether an app can be rolled back to a specific deployment. This endpoint can also be used to check if there are any warnings or validation conditions that will cause the rollback to proceed under unideal circumstances. For example, if a component must be rebuilt as part of the rollback causing it to take longer than usual.需要连接1 scope
Check whether an app can be rolled back to a specific deployment. This endpoint can also be used to check if there are any warnings or validation conditions that will cause the rollback to proceed under unideal circumstances. For example, if a component must be rebuilt as part of the rollback causing it to take longer than usual.
认证
需要 Connected AccountScopes
app:updateTags
Create a New Autoscale PoolDIGITALOCEAN_AUTOSCALEPOOLS_CREATETo create a new autoscale pool, send a POST request to `/v2/droplets/autoscale` setting the required attributes. The response body will contain a JSON object with a key called `autoscale_pool` containing the standard attributes for the new autoscale pool.需要连接1 scope
To create a new autoscale pool, send a POST request to `/v2/droplets/autoscale` setting the required attributes. The response body will contain a JSON object with a key called `autoscale_pool` containing the standard attributes for the new autoscale pool.
认证
需要 Connected AccountScopes
droplet:createTags
Delete autoscale poolDIGITALOCEAN_AUTOSCALEPOOLS_DELETETo destroy an autoscale pool, send a DELETE request to the `/v2/droplets/autoscale/$AUTOSCALE_POOL_ID` endpoint. A successful response will include a 202 response code and no content.需要连接1 scope
To destroy an autoscale pool, send a DELETE request to the `/v2/droplets/autoscale/$AUTOSCALE_POOL_ID` endpoint. A successful response will include a 202 response code and no content.
认证
需要 Connected AccountScopes
droplet:deleteTags
Delete autoscale pool and resourcesDIGITALOCEAN_AUTOSCALEPOOLS_DELETE_DANGEROUSTo destroy an autoscale pool and its associated resources (Droplets), send a DELETE request to the `/v2/droplets/autoscale/$AUTOSCALE_POOL_ID/dangerous` endpoint.需要连接1 scope
To destroy an autoscale pool and its associated resources (Droplets), send a DELETE request to the `/v2/droplets/autoscale/$AUTOSCALE_POOL_ID/dangerous` endpoint.
认证
需要 Connected AccountScopes
droplet:deleteTags
Retrieve an Existing Autoscale PoolDIGITALOCEAN_AUTOSCALEPOOLS_GETTo show information about an individual autoscale pool, send a GET request to `/v2/droplets/autoscale/$AUTOSCALE_POOL_ID`.需要连接1 scope
To show information about an individual autoscale pool, send a GET request to `/v2/droplets/autoscale/$AUTOSCALE_POOL_ID`.
认证
需要 Connected AccountScopes
droplet:readTags
List All Autoscale PoolsDIGITALOCEAN_AUTOSCALEPOOLS_LISTTo list all autoscale pools in your team, send a GET request to `/v2/droplets/autoscale`. The response body will be a JSON object with a key of `autoscale_pools` containing an array of autoscale pool objects. These each contain the standard autoscale pool attributes.需要连接1 scope
To list all autoscale pools in your team, send a GET request to `/v2/droplets/autoscale`. The response body will be a JSON object with a key of `autoscale_pools` containing an array of autoscale pool objects. These each contain the standard autoscale pool attributes.
认证
需要 Connected AccountScopes
droplet:readTags
List history eventsDIGITALOCEAN_AUTOSCALEPOOLS_LIST_HISTORYTo list all of the scaling history events of an autoscale pool, send a GET request to `/v2/droplets/autoscale/$AUTOSCALE_POOL_ID/history`. The response body will be a JSON object with a key of `history`. This will be set to an array containing objects each representing a history event.需要连接1 scope
To list all of the scaling history events of an autoscale pool, send a GET request to `/v2/droplets/autoscale/$AUTOSCALE_POOL_ID/history`. The response body will be a JSON object with a key of `history`. This will be set to an array containing objects each representing a history event.
认证
需要 Connected AccountScopes
droplet:readTags
List membersDIGITALOCEAN_AUTOSCALEPOOLS_LIST_MEMBERSTo list the Droplets in an autoscale pool, send a GET request to `/v2/droplets/autoscale/$AUTOSCALE_POOL_ID/members`. The response body will be a JSON object with a key of `droplets`. This will be set to an array containing information about each of the Droplets in the autoscale pool.需要连接1 scope
To list the Droplets in an autoscale pool, send a GET request to `/v2/droplets/autoscale/$AUTOSCALE_POOL_ID/members`. The response body will be a JSON object with a key of `droplets`. This will be set to an array containing information about each of the Droplets in the autoscale pool.
认证
需要 Connected AccountScopes
droplet:readTags
Update Autoscale PoolDIGITALOCEAN_AUTOSCALEPOOLS_UPDATETo update the configuration of an existing autoscale pool, send a PUT request to `/v2/droplets/autoscale/$AUTOSCALE_POOL_ID`. The request must contain a full representation of the autoscale pool including existing attributes.需要连接1 scope
To update the configuration of an existing autoscale pool, send a PUT request to `/v2/droplets/autoscale/$AUTOSCALE_POOL_ID`. The request must contain a full representation of the autoscale pool including existing attributes.
认证
需要 Connected AccountScopes
droplet:createTags
Get Customer BalanceDIGITALOCEAN_BALANCE_GETTo retrieve the balances on a customer's account, send a GET request to `/v2/customers/my/balance`.需要连接1 scope
To retrieve the balances on a customer's account, send a GET request to `/v2/customers/my/balance`.
认证
需要 Connected AccountScopes
billing:readTags
List Billing HistoryDIGITALOCEAN_BILLING_HISTORY_LISTTo retrieve a list of all billing history entries, send a GET request to `/v2/customers/my/billing_history`.需要连接1 scope
To retrieve a list of all billing history entries, send a GET request to `/v2/customers/my/billing_history`.
认证
需要 Connected AccountScopes
billing:readTags
List Billing InsightsDIGITALOCEAN_BILLING_INSIGHTS_LISTThis endpoint returns day-over-day changes in billing resource usage based on nightly invoice items, including total amount, region, SKU, and description for a specified date range. It is important to note that the daily resource usage may not reflect month-end billing totals when totaled for a given month as nightly invoice item estimates do not necessarily encompass all invoicing factors for the entire month.需要连接1 scope
This endpoint returns day-over-day changes in billing resource usage based on nightly invoice items, including total amount, region, SKU, and description for a specified date range. It is important to note that the daily resource usage may not reflect month-end billing totals when totaled for a given month as nightly invoice item estimates do not necessarily encompass all invoicing factors for the entire month.
认证
需要 Connected AccountScopes
billing:readTags
Create a BYOIP PrefixDIGITALOCEAN_BYOIP_PREFIXES_CREATETo create a BYOIP prefix, send a POST request to `/v2/byoip_prefixes`. A successful request will initiate the process of bringing your BYOIP Prefix into your account. The response will include the details of the created prefix, including its UUID and status.需要连接1 scope
To create a BYOIP prefix, send a POST request to `/v2/byoip_prefixes`. A successful request will initiate the process of bringing your BYOIP Prefix into your account. The response will include the details of the created prefix, including its UUID and status.
认证
需要 Connected AccountScopes
byoip_prefix:createTags
Delete a BYOIP PrefixDIGITALOCEAN_BYOIP_PREFIXES_DELETETo delete a BYOIP prefix and remove it from your account, send a DELETE request to `/v2/byoip_prefixes/$byoip_prefix_uuid`. A successful request will receive a 202 status code with no body in response. This indicates that the request was accepted and the prefix is being deleted.需要连接1 scope
To delete a BYOIP prefix and remove it from your account, send a DELETE request to `/v2/byoip_prefixes/$byoip_prefix_uuid`. A successful request will receive a 202 status code with no body in response. This indicates that the request was accepted and the prefix is being deleted.
认证
需要 Connected AccountScopes
byoip_prefix:deleteTags
Get a BYOIP PrefixDIGITALOCEAN_BYOIP_PREFIXES_GETTo get a BYOIP prefix, send a GET request to `/v2/byoip_prefixes/$byoip_prefix_uuid`. A successful response will return the details of the specified BYOIP prefix.需要连接1 scope
To get a BYOIP prefix, send a GET request to `/v2/byoip_prefixes/$byoip_prefix_uuid`. A successful response will return the details of the specified BYOIP prefix.
认证
需要 Connected AccountScopes
byoip_prefix:readTags
List BYOIP PrefixesDIGITALOCEAN_BYOIP_PREFIXES_LISTTo list all BYOIP prefixes, send a GET request to `/v2/byoip_prefixes`. A successful response will return a list of all BYOIP prefixes associated with the account.需要连接1 scope
To list all BYOIP prefixes, send a GET request to `/v2/byoip_prefixes`. A successful response will return a list of all BYOIP prefixes associated with the account.
认证
需要 Connected AccountScopes
byoip_prefix:readTags
List BYOIP Prefix ResourcesDIGITALOCEAN_BYOIP_PREFIXES_LIST_RESOURCESTo list resources associated with BYOIP prefixes, send a GET request to `/v2/byoip_prefixes/{byoip_prefix_uuid}/ips`. A successful response will return a list of resources associated with the specified BYOIP prefix.需要连接1 scope
To list resources associated with BYOIP prefixes, send a GET request to `/v2/byoip_prefixes/{byoip_prefix_uuid}/ips`. A successful response will return a list of resources associated with the specified BYOIP prefix.
认证
需要 Connected AccountScopes
byoip_prefix:readTags
Update a BYOIP PrefixDIGITALOCEAN_BYOIP_PREFIXES_PATCHTo update a BYOIP prefix, send a PATCH request to `/v2/byoip_prefixes/$byoip_prefix_uuid`. Currently, you can update the advertisement status of the prefix. The response will include the updated details of the prefix.需要连接1 scope
To update a BYOIP prefix, send a PATCH request to `/v2/byoip_prefixes/$byoip_prefix_uuid`. Currently, you can update the advertisement status of the prefix. The response will include the updated details of the prefix.
认证
需要 Connected AccountScopes
byoip_prefix:writeTags
Create a New CDN EndpointDIGITALOCEAN_CDN_CREATE_ENDPOINTTo create a new CDN endpoint, send a POST request to `/v2/cdn/endpoints`. The origin attribute must be set to the fully qualified domain name (FQDN) of a DigitalOcean Space. Optionally, the TTL may be configured by setting the `ttl` attribute. A custom subdomain may be configured by specifying the `custom_domain` and `certificate_id` attributes.需要连接1 scope
To create a new CDN endpoint, send a POST request to `/v2/cdn/endpoints`. The origin attribute must be set to the fully qualified domain name (FQDN) of a DigitalOcean Space. Optionally, the TTL may be configured by setting the `ttl` attribute. A custom subdomain may be configured by specifying the `custom_domain` and `certificate_id` attributes.
认证
需要 Connected AccountScopes
cdn:createTags
Delete a CDN EndpointDIGITALOCEAN_CDN_DELETE_ENDPOINTTo delete a specific CDN endpoint, send a DELETE request to `/v2/cdn/endpoints/$ENDPOINT_ID`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.需要连接1 scope
To delete a specific CDN endpoint, send a DELETE request to `/v2/cdn/endpoints/$ENDPOINT_ID`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.
认证
需要 Connected AccountScopes
cdn:deleteTags
Retrieve an Existing CDN EndpointDIGITALOCEAN_CDN_GET_ENDPOINTTo show information about an existing CDN endpoint, send a GET request to `/v2/cdn/endpoints/$ENDPOINT_ID`.需要连接1 scope
To show information about an existing CDN endpoint, send a GET request to `/v2/cdn/endpoints/$ENDPOINT_ID`.
认证
需要 Connected AccountScopes
cdn:readTags
List All CDN EndpointsDIGITALOCEAN_CDN_LIST_ENDPOINTSTo list all of the CDN endpoints available on your account, send a GET request to `/v2/cdn/endpoints`.需要连接1 scope
To list all of the CDN endpoints available on your account, send a GET request to `/v2/cdn/endpoints`.
认证
需要 Connected AccountScopes
cdn:readTags
Purge the Cache for an Existing CDN EndpointDIGITALOCEAN_CDN_PURGE_CACHETo purge cached content from a CDN endpoint, send a DELETE request to `/v2/cdn/endpoints/$ENDPOINT_ID/cache`. The body of the request should include a `files` attribute containing a list of cached file paths to be purged. A path may be for a single file or may contain a wildcard (`*`) to recursively purge all files under a directory. When only a wildcard is provided, all cached files will be purged. There is a rate limit of 50 files per 20 seconds that can be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds. Purging files using a wildcard path counts as a single request against the API's rate limit. Two identical purge requests cannot be sent at the same time.需要连接1 scope
To purge cached content from a CDN endpoint, send a DELETE request to `/v2/cdn/endpoints/$ENDPOINT_ID/cache`. The body of the request should include a `files` attribute containing a list of cached file paths to be purged. A path may be for a single file or may contain a wildcard (`*`) to recursively purge all files under a directory. When only a wildcard is provided, all cached files will be purged. There is a rate limit of 50 files per 20 seconds that can be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds. Purging files using a wildcard path counts as a single request against the API's rate limit. Two identical purge requests cannot be sent at the same time.
认证
需要 Connected AccountScopes
cdn:deleteTags
Update a CDN EndpointDIGITALOCEAN_CDN_UPDATE_ENDPOINTSTo update the TTL, certificate ID, or the FQDN of the custom subdomain for an existing CDN endpoint, send a PUT request to `/v2/cdn/endpoints/$ENDPOINT_ID`.需要连接1 scope
To update the TTL, certificate ID, or the FQDN of the custom subdomain for an existing CDN endpoint, send a PUT request to `/v2/cdn/endpoints/$ENDPOINT_ID`.
认证
需要 Connected AccountScopes
cdn:updateTags
Create a New CertificateDIGITALOCEAN_CERTIFICATES_CREATETo upload new SSL certificate which you have previously generated, send a POST request to `/v2/certificates`. When uploading a user-generated certificate, the `private_key`, `leaf_certificate`, and optionally the `certificate_chain` attributes should be provided. The type must be set to `custom`. When using Let's Encrypt to create a certificate, the `dns_names` attribute must be provided, and the type must be set to `lets_encrypt`.需要连接1 scope
To upload new SSL certificate which you have previously generated, send a POST request to `/v2/certificates`. When uploading a user-generated certificate, the `private_key`, `leaf_certificate`, and optionally the `certificate_chain` attributes should be provided. The type must be set to `custom`. When using Let's Encrypt to create a certificate, the `dns_names` attribute must be provided, and the type must be set to `lets_encrypt`.
认证
需要 Connected AccountScopes
certificate:createTags
Delete a CertificateDIGITALOCEAN_CERTIFICATES_DELETETo delete a specific certificate, send a DELETE request to `/v2/certificates/$CERTIFICATE_ID`.需要连接1 scope
To delete a specific certificate, send a DELETE request to `/v2/certificates/$CERTIFICATE_ID`.
认证
需要 Connected AccountScopes
certificate:deleteTags
Retrieve an Existing CertificateDIGITALOCEAN_CERTIFICATES_GETTo show information about an existing certificate, send a GET request to `/v2/certificates/$CERTIFICATE_ID`.需要连接1 scope
To show information about an existing certificate, send a GET request to `/v2/certificates/$CERTIFICATE_ID`.
认证
需要 Connected AccountScopes
certificate:readTags
List All CertificatesDIGITALOCEAN_CERTIFICATES_LISTTo list all of the certificates available on your account, send a GET request to `/v2/certificates`.需要连接1 scope
To list all of the certificates available on your account, send a GET request to `/v2/certificates`.
认证
需要 Connected AccountScopes
certificate:readTags
Add a New DatabaseDIGITALOCEAN_DATABASES_ADDTo add a new database to an existing cluster, send a POST request to `/v2/databases/$DATABASE_ID/dbs`. Note: Database management is not supported for Caching or Valkey clusters. The response will be a JSON object with a key called `db`. The value of this will be an object that contains the standard attributes associated with a database.需要连接1 scope
To add a new database to an existing cluster, send a POST request to `/v2/databases/$DATABASE_ID/dbs`. Note: Database management is not supported for Caching or Valkey clusters. The response will be a JSON object with a key called `db`. The value of this will be an object that contains the standard attributes associated with a database.
认证
需要 Connected AccountScopes
database:createTags
Add a New Connection Pool (PostgreSQL)DIGITALOCEAN_DATABASES_ADD_CONNECTION_POOLFor PostgreSQL database clusters, connection pools can be used to allow a database to share its idle connections. The popular PostgreSQL connection pooling utility PgBouncer is used to provide this service. [See here for more information](https://docs.digitalocean.com/products/databases/postgresql/how-to/manage-connection-pools/) about how and why to use PgBouncer connection pooling including details about the available transaction modes. To add a new connection pool to a PostgreSQL database cluster, send a POST request to `/v2/databases/$DATABASE_ID/pools` specifying a name for the pool, the user to connect with, the database to connect to, as well as its desired size and transaction mode.需要连接1 scope
For PostgreSQL database clusters, connection pools can be used to allow a database to share its idle connections. The popular PostgreSQL connection pooling utility PgBouncer is used to provide this service. [See here for more information](https://docs.digitalocean.com/products/databases/postgresql/how-to/manage-connection-pools/) about how and why to use PgBouncer connection pooling including details about the available transaction modes. To add a new connection pool to a PostgreSQL database cluster, send a POST request to `/v2/databases/$DATABASE_ID/pools` specifying a name for the pool, the user to connect with, the database to connect to, as well as its desired size and transaction mode.
认证
需要 Connected AccountScopes
database:createTags
Add a Database UserDIGITALOCEAN_DATABASES_ADD_USERTo add a new database user, send a POST request to `/v2/databases/$DATABASE_ID/users` with the desired username. Note: User management is not supported for Caching or Valkey clusters. When adding a user to a MySQL cluster, additional options can be configured in the `mysql_settings` object. When adding a user to a PostgreSQL cluster, additional options can be configured in the `settings` object (for example, `pg_allow_replication`). When `pg_allow_replication` is omitted, it defaults to `false`. When adding a user to a Kafka cluster, additional options can be configured in the `settings` object. When adding a user to a MongoDB cluster, additional options can be configured in the `settings.mongo_user_settings` object. The response will be a JSON object with a key called `user`. The value of this will be an object that contains the standard attributes associated with a database user including its randomly generated password.需要连接1 scope
To add a new database user, send a POST request to `/v2/databases/$DATABASE_ID/users` with the desired username. Note: User management is not supported for Caching or Valkey clusters. When adding a user to a MySQL cluster, additional options can be configured in the `mysql_settings` object. When adding a user to a PostgreSQL cluster, additional options can be configured in the `settings` object (for example, `pg_allow_replication`). When `pg_allow_replication` is omitted, it defaults to `false`. When adding a user to a Kafka cluster, additional options can be configured in the `settings` object. When adding a user to a MongoDB cluster, additional options can be configured in the `settings.mongo_user_settings` object. The response will be a JSON object with a key called `user`. The value of this will be an object that contains the standard attributes associated with a database user including its randomly generated password.
认证
需要 Connected AccountScopes
database:createTags
Create a New Database ClusterDIGITALOCEAN_DATABASES_CREATE_CLUSTERTo create a database cluster, send a POST request to `/v2/databases`. To see a list of options for each engine, such as available regions, size slugs, and versions, send a GET request to the `/v2/databases/options` endpoint. The available sizes for the `storage_size_mib` field depends on the cluster's size. To see a list of available sizes, see [Managed Database Pricing](https://www.digitalocean.com/pricing/managed-databases). The create response returns a JSON object with a key called `database`. The value of this is an object that contains the standard attributes associated with a database cluster. The initial value of the database cluster's `status` attribute is `creating`. When the cluster is ready to receive traffic, this changes to `online`. The embedded `connection` and `private_connection` objects contains the information needed to access the database cluster. For multi-node clusters, the `standby_connection` and `standby_private_connection` objects contain the information needed to connect to the cluster's standby node(s). DigitalOcean managed PostgreSQL and MySQL database clusters take automated daily backups. To create a new database cluster based on a backup of an existing cluster, send a POST request to `/v2/databases`. In addition to the standard database cluster attributes, the JSON body must include a key named `backup_restore` with the name of the original database cluster and the timestamp of the backup to be restored. Creating a database from a backup is the same as forking a database in the control panel. PostgreSQL and MySQL Advanced Edition clusters can be provisioned by setting `engine` to `advanced_pg` or `advanced_mysql`. Advanced Edition clusters are currently in public preview and target highly available workloads. `advanced_pg` supports 1-, 2-, and 3-node deployments; `advanced_mysql` only supports 1- and 3-node deployments. See the [PostgreSQL Advanced Edition](https://docs.digitalocean.com/products/databases/postgresql/how-to/use-advanced-edition-clusters/) and [MySQL Advanced Edition](https://docs.digitalocean.com/products/databases/mysql/how-to/use-advanced-edition-clusters/) documentation for the feature differences vs. Standard Edition and current preview limitations. Note: Caching cluster creates are no longer supported as of 2025-04-30T00:00:00Z. Backups are also not supported for Caching or Valkey clusters.需要连接1 scope
To create a database cluster, send a POST request to `/v2/databases`. To see a list of options for each engine, such as available regions, size slugs, and versions, send a GET request to the `/v2/databases/options` endpoint. The available sizes for the `storage_size_mib` field depends on the cluster's size. To see a list of available sizes, see [Managed Database Pricing](https://www.digitalocean.com/pricing/managed-databases). The create response returns a JSON object with a key called `database`. The value of this is an object that contains the standard attributes associated with a database cluster. The initial value of the database cluster's `status` attribute is `creating`. When the cluster is ready to receive traffic, this changes to `online`. The embedded `connection` and `private_connection` objects contains the information needed to access the database cluster. For multi-node clusters, the `standby_connection` and `standby_private_connection` objects contain the information needed to connect to the cluster's standby node(s). DigitalOcean managed PostgreSQL and MySQL database clusters take automated daily backups. To create a new database cluster based on a backup of an existing cluster, send a POST request to `/v2/databases`. In addition to the standard database cluster attributes, the JSON body must include a key named `backup_restore` with the name of the original database cluster and the timestamp of the backup to be restored. Creating a database from a backup is the same as forking a database in the control panel. PostgreSQL and MySQL Advanced Edition clusters can be provisioned by setting `engine` to `advanced_pg` or `advanced_mysql`. Advanced Edition clusters are currently in public preview and target highly available workloads. `advanced_pg` supports 1-, 2-, and 3-node deployments; `advanced_mysql` only supports 1- and 3-node deployments. See the [PostgreSQL Advanced Edition](https://docs.digitalocean.com/products/databases/postgresql/how-to/use-advanced-edition-clusters/) and [MySQL Advanced Edition](https://docs.digitalocean.com/products/databases/mysql/how-to/use-advanced-edition-clusters/) documentation for the feature differences vs. Standard Edition and current preview limitations. Note: Caching cluster creates are no longer supported as of 2025-04-30T00:00:00Z. Backups are also not supported for Caching or Valkey clusters.
认证
需要 Connected AccountScopes
database:createTags
Create Schema Registry for Kafka ClusterDIGITALOCEAN_DATABASES_CREATE_KAFKA_SCHEMATo create a Kafka schema for a database cluster, send a POST request to `/v2/databases/$DATABASE_ID/schema-registry`.需要连接1 scope
To create a Kafka schema for a database cluster, send a POST request to `/v2/databases/$DATABASE_ID/schema-registry`.
认证
需要 Connected AccountScopes
database:createTags
Create Topic for a Kafka ClusterDIGITALOCEAN_DATABASES_CREATE_KAFKA_TOPICTo create a topic attached to a Kafka cluster, send a POST request to `/v2/databases/$DATABASE_ID/topics`. The result will be a JSON object with a `topic` key.需要连接1 scope
To create a topic attached to a Kafka cluster, send a POST request to `/v2/databases/$DATABASE_ID/topics`. The result will be a JSON object with a `topic` key.
认证
需要 Connected AccountScopes
database:createTags
Create Logsink for a Database ClusterDIGITALOCEAN_DATABASES_CREATE_LOGSINKTo create logsink for a database cluster, send a POST request to `/v2/databases/$DATABASE_ID/logsink`.需要连接1 scope
To create logsink for a database cluster, send a POST request to `/v2/databases/$DATABASE_ID/logsink`.
认证
需要 Connected AccountScopes
database:createTags
Create a Read-only ReplicaDIGITALOCEAN_DATABASES_CREATE_REPLICATo create a read-only replica for a PostgreSQL or MySQL database cluster, send a POST request to `/v2/databases/$DATABASE_ID/replicas` specifying the name it should be given, the size of the node to be used, and the region where it will be located. **Note**: Read-only replicas are not supported for Caching or Valkey clusters. The response will be a JSON object with a key called `replica`. The value of this will be an object that contains the standard attributes associated with a database replica. The initial value of the read-only replica's `status` attribute will be `forking`. When the replica is ready to receive traffic, this will transition to `active`.需要连接1 scope
To create a read-only replica for a PostgreSQL or MySQL database cluster, send a POST request to `/v2/databases/$DATABASE_ID/replicas` specifying the name it should be given, the size of the node to be used, and the region where it will be located. **Note**: Read-only replicas are not supported for Caching or Valkey clusters. The response will be a JSON object with a key called `replica`. The value of this will be an object that contains the standard attributes associated with a database replica. The initial value of the read-only replica's `status` attribute will be `forking`. When the replica is ready to receive traffic, this will transition to `active`.
认证
需要 Connected AccountScopes
database:createTags
Delete a DatabaseDIGITALOCEAN_DATABASES_DELETETo delete a specific database, send a DELETE request to `/v2/databases/$DATABASE_ID/dbs/$DB_NAME`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed. Note: Database management is not supported for Caching or Valkey clusters.需要连接1 scope
To delete a specific database, send a DELETE request to `/v2/databases/$DATABASE_ID/dbs/$DB_NAME`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed. Note: Database management is not supported for Caching or Valkey clusters.
认证
需要 Connected AccountScopes
database:deleteTags
Delete a Connection Pool (PostgreSQL)DIGITALOCEAN_DATABASES_DELETE_CONNECTION_POOLTo delete a specific connection pool for a PostgreSQL database cluster, send a DELETE request to `/v2/databases/$DATABASE_ID/pools/$POOL_NAME`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.需要连接1 scope
To delete a specific connection pool for a PostgreSQL database cluster, send a DELETE request to `/v2/databases/$DATABASE_ID/pools/$POOL_NAME`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.
认证
需要 Connected AccountScopes
database:deleteTags
Delete a Kafka Schema by Subject NameDIGITALOCEAN_DATABASES_DELETE_KAFKA_SCHEMATo delete a specific schema by subject name for a Kafka cluster, send a DELETE request to `/v2/databases/$DATABASE_ID/schema-registry/$SUBJECT_NAME`.需要连接1 scope
To delete a specific schema by subject name for a Kafka cluster, send a DELETE request to `/v2/databases/$DATABASE_ID/schema-registry/$SUBJECT_NAME`.
认证
需要 Connected AccountScopes
database:deleteTags
Delete Topic for a Kafka ClusterDIGITALOCEAN_DATABASES_DELETE_KAFKA_TOPICTo delete a single topic within a Kafka cluster, send a DELETE request to `/v2/databases/$DATABASE_ID/topics/$TOPIC_NAME`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.需要连接1 scope
To delete a single topic within a Kafka cluster, send a DELETE request to `/v2/databases/$DATABASE_ID/topics/$TOPIC_NAME`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.
认证
需要 Connected AccountScopes
database:deleteTags
Delete Logsink for a Database ClusterDIGITALOCEAN_DATABASES_DELETE_LOGSINKTo delete a logsink for a database cluster, send a DELETE request to `/v2/databases/$DATABASE_ID/logsink/$LOGSINK_ID`.需要连接1 scope
To delete a logsink for a database cluster, send a DELETE request to `/v2/databases/$DATABASE_ID/logsink/$LOGSINK_ID`.
认证
需要 Connected AccountScopes
database:deleteTags
Stop an Online MigrationDIGITALOCEAN_DATABASES_DELETE_ONLINE_MIGRATIONTo stop an online migration, send a DELETE request to `/v2/databases/$DATABASE_ID/online-migration/$MIGRATION_ID`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.需要连接1 scope
To stop an online migration, send a DELETE request to `/v2/databases/$DATABASE_ID/online-migration/$MIGRATION_ID`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.
认证
需要 Connected AccountScopes
database:deleteTags
Delete Index for OpenSearch ClusterDIGITALOCEAN_DATABASES_DELETE_OPENSEARCH_INDEXTo delete a single index within OpenSearch cluster, send a DELETE request to `/v2/databases/$DATABASE_ID/indexes/$INDEX_NAME`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.需要连接1 scope
To delete a single index within OpenSearch cluster, send a DELETE request to `/v2/databases/$DATABASE_ID/indexes/$INDEX_NAME`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.
认证
需要 Connected AccountScopes
database:deleteTags
Remove a Database UserDIGITALOCEAN_DATABASES_DELETE_USERTo remove a specific database user, send a DELETE request to `/v2/databases/$DATABASE_ID/users/$USERNAME`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed. Note: User management is not supported for Caching or Valkey clusters.需要连接1 scope
To remove a specific database user, send a DELETE request to `/v2/databases/$DATABASE_ID/users/$USERNAME`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed. Note: User management is not supported for Caching or Valkey clusters.
认证
需要 Connected AccountScopes
database:deleteTags
Destroy a Database ClusterDIGITALOCEAN_DATABASES_DESTROY_CLUSTERTo destroy a specific database, send a DELETE request to `/v2/databases/$DATABASE_ID`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.需要连接1 scope
To destroy a specific database, send a DELETE request to `/v2/databases/$DATABASE_ID`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.
认证
需要 Connected AccountScopes
database:deleteTags
Destroy a Read-only ReplicaDIGITALOCEAN_DATABASES_DESTROY_REPLICATo destroy a specific read-only replica, send a DELETE request to `/v2/databases/$DATABASE_ID/replicas/$REPLICA_NAME`. **Note**: Read-only replicas are not supported for Caching or Valkey clusters. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.需要连接1 scope
To destroy a specific read-only replica, send a DELETE request to `/v2/databases/$DATABASE_ID/replicas/$REPLICA_NAME`. **Note**: Read-only replicas are not supported for Caching or Valkey clusters. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.
认证
需要 Connected AccountScopes
database:deleteTags
Retrieve an Existing DatabaseDIGITALOCEAN_DATABASES_GETTo show information about an existing database cluster, send a GET request to `/v2/databases/$DATABASE_ID/dbs/$DB_NAME`. Note: Database management is not supported for Caching or Valkey clusters. The response will be a JSON object with a `db` key. This will be set to an object containing the standard database attributes.需要连接1 scope
To show information about an existing database cluster, send a GET request to `/v2/databases/$DATABASE_ID/dbs/$DB_NAME`. Note: Database management is not supported for Caching or Valkey clusters. The response will be a JSON object with a `db` key. This will be set to an object containing the standard database attributes.
认证
需要 Connected AccountScopes
database:readTags
Retrieve Autoscale Configuration for a Database ClusterDIGITALOCEAN_DATABASES_GET_AUTOSCALETo retrieve the autoscale configuration for an existing database cluster, send a GET request to `/v2/databases/$DATABASE_ID/autoscale`. The response will be a JSON object with autoscaling configuration details.需要连接1 scope
To retrieve the autoscale configuration for an existing database cluster, send a GET request to `/v2/databases/$DATABASE_ID/autoscale`. The response will be a JSON object with autoscaling configuration details.
认证
需要 Connected AccountScopes
database:readTags
Retrieve the Public CertificateDIGITALOCEAN_DATABASES_GET_CATo retrieve the public certificate used to secure the connection to the database cluster send a GET request to `/v2/databases/$DATABASE_ID/ca`. The response will be a JSON object with a `ca` key. This will be set to an object containing the base64 encoding of the public key certificate.需要连接1 scope
To retrieve the public certificate used to secure the connection to the database cluster send a GET request to `/v2/databases/$DATABASE_ID/ca`. The response will be a JSON object with a `ca` key. This will be set to an object containing the base64 encoding of the public key certificate.
认证
需要 Connected AccountScopes
database:readTags
Retrieve an Existing Database ClusterDIGITALOCEAN_DATABASES_GET_CLUSTERTo show information about an existing database cluster, send a GET request to `/v2/databases/$DATABASE_ID`. The response will be a JSON object with a database key. This will be set to an object containing the standard database cluster attributes. The embedded `connection` and `private_connection` objects will contain the information needed to access the database cluster. For multi-node clusters, the `standby_connection` and `standby_private_connection` objects contain the information needed to connect to the cluster's standby node(s). The embedded maintenance_window object will contain information about any scheduled maintenance for the database cluster.需要连接1 scope
To show information about an existing database cluster, send a GET request to `/v2/databases/$DATABASE_ID`. The response will be a JSON object with a database key. This will be set to an object containing the standard database cluster attributes. The embedded `connection` and `private_connection` objects will contain the information needed to access the database cluster. For multi-node clusters, the `standby_connection` and `standby_private_connection` objects contain the information needed to connect to the cluster's standby node(s). The embedded maintenance_window object will contain information about any scheduled maintenance for the database cluster.
认证
需要 Connected AccountScopes
database:readTags
Retrieve Database Clusters' Metrics Endpoint CredentialsDIGITALOCEAN_DATABASES_GET_CLUSTER_METRICS_CREDENTIALSTo show the credentials for all database clusters' metrics endpoints, send a GET request to `/v2/databases/metrics/credentials`. The result will be a JSON object with a `credentials` key.需要连接2 scopes
To show the credentials for all database clusters' metrics endpoints, send a GET request to `/v2/databases/metrics/credentials`. The result will be a JSON object with a `credentials` key.
认证
需要 Connected AccountScopes
database:updatedatabase:view_credentialsTags
Retrieve an Existing Database Cluster ConfigurationDIGITALOCEAN_DATABASES_GET_CONFIGShows configuration parameters for an existing database cluster by sending a GET request to `/v2/databases/$DATABASE_ID/config`. The response is a JSON object with a `config` key, which is set to an object containing any database configuration parameters.需要连接1 scope
Shows configuration parameters for an existing database cluster by sending a GET request to `/v2/databases/$DATABASE_ID/config`. The response is a JSON object with a `config` key, which is set to an object containing any database configuration parameters.
认证
需要 Connected AccountScopes
database:readTags
Retrieve Existing Connection Pool (PostgreSQL)DIGITALOCEAN_DATABASES_GET_CONNECTION_POOLTo show information about an existing connection pool for a PostgreSQL database cluster, send a GET request to `/v2/databases/$DATABASE_ID/pools/$POOL_NAME`. The response will be a JSON object with a `pool` key.需要连接1 scope
To show information about an existing connection pool for a PostgreSQL database cluster, send a GET request to `/v2/databases/$DATABASE_ID/pools/$POOL_NAME`. The response will be a JSON object with a `pool` key.
认证
需要 Connected AccountScopes
database:readTags
Retrieve DO Settings for a Database ClusterDIGITALOCEAN_DATABASES_GET_DO_SETTINGSTo retrieve the DigitalOcean-specific settings for a database cluster, send a GET request to `/v2/databases/$DATABASE_ID/do_settings`. The response will include the current `service_cnames` configuration.需要连接1 scope
To retrieve the DigitalOcean-specific settings for a database cluster, send a GET request to `/v2/databases/$DATABASE_ID/do_settings`. The response will include the current `service_cnames` configuration.
认证
需要 Connected AccountScopes
database:readTags
Retrieve the Eviction Policy for a Caching or Valkey ClusterDIGITALOCEAN_DATABASES_GET_EVICTION_POLICYTo retrieve the configured eviction policy for an existing Caching or Valkey cluster, send a GET request to `/v2/databases/$DATABASE_ID/eviction_policy`. The response will be a JSON object with an `eviction_policy` key. This will be set to a string representing the eviction policy.需要连接1 scope
To retrieve the configured eviction policy for an existing Caching or Valkey cluster, send a GET request to `/v2/databases/$DATABASE_ID/eviction_policy`. The response will be a JSON object with an `eviction_policy` key. This will be set to a string representing the eviction policy.
认证
需要 Connected AccountScopes
database:readTags
Get a Kafka Schema by Subject NameDIGITALOCEAN_DATABASES_GET_KAFKA_SCHEMATo get a specific schema by subject name for a Kafka cluster, send a GET request to `/v2/databases/$DATABASE_ID/schema-registry/$SUBJECT_NAME`.需要连接1 scope
To get a specific schema by subject name for a Kafka cluster, send a GET request to `/v2/databases/$DATABASE_ID/schema-registry/$SUBJECT_NAME`.
认证
需要 Connected AccountScopes
database:readTags
Retrieve Schema Registry Configuration for a kafka ClusterDIGITALOCEAN_DATABASES_GET_KAFKA_SCHEMA_CONFIGTo retrieve the Schema Registry configuration for a Kafka cluster, send a GET request to `/v2/databases/$DATABASE_ID/schema-registry/config`. The response is a JSON object with a `compatibility_level` key, which is set to an object containing any database configuration parameters.需要连接1 scope
To retrieve the Schema Registry configuration for a Kafka cluster, send a GET request to `/v2/databases/$DATABASE_ID/schema-registry/config`. The response is a JSON object with a `compatibility_level` key, which is set to an object containing any database configuration parameters.
认证
需要 Connected AccountScopes
database:readTags
Retrieve Schema Registry Configuration for a Subject of kafka ClusterDIGITALOCEAN_DATABASES_GET_KAFKA_SCHEMA_SUBJECT_CONFIGTo retrieve the Schema Registry configuration for a Subject of a Kafka cluster, send a GET request to `/v2/databases/$DATABASE_ID/schema-registry/config/$SUBJECT_NAME`. The response is a JSON object with a `compatibility_level` key, which is set to an object containing any database configuration parameters.需要连接1 scope
To retrieve the Schema Registry configuration for a Subject of a Kafka cluster, send a GET request to `/v2/databases/$DATABASE_ID/schema-registry/config/$SUBJECT_NAME`. The response is a JSON object with a `compatibility_level` key, which is set to an object containing any database configuration parameters.
认证
需要 Connected AccountScopes
database:readTags
Get Kafka Schema by Subject VersionDIGITALOCEAN_DATABASES_GET_KAFKA_SCHEMA_VERSIONTo get a specific schema by subject name for a Kafka cluster, send a GET request to `/v2/databases/$DATABASE_ID/schema-registry/$SUBJECT_NAME/versions/$VERSION`.需要连接1 scope
To get a specific schema by subject name for a Kafka cluster, send a GET request to `/v2/databases/$DATABASE_ID/schema-registry/$SUBJECT_NAME/versions/$VERSION`.
认证
需要 Connected AccountScopes
database:readTags
Get Topic for a Kafka ClusterDIGITALOCEAN_DATABASES_GET_KAFKA_TOPICTo retrieve a given topic by name from the set of a Kafka cluster's topics, send a GET request to `/v2/databases/$DATABASE_ID/topics/$TOPIC_NAME`. The result will be a JSON object with a `topic` key.需要连接1 scope
To retrieve a given topic by name from the set of a Kafka cluster's topics, send a GET request to `/v2/databases/$DATABASE_ID/topics/$TOPIC_NAME`. The result will be a JSON object with a `topic` key.
认证
需要 Connected AccountScopes
database:readTags
Get Logsink for a Database ClusterDIGITALOCEAN_DATABASES_GET_LOGSINKTo get a logsink for a database cluster, send a GET request to `/v2/databases/$DATABASE_ID/logsink/$LOGSINK_ID`.需要连接1 scope
To get a logsink for a database cluster, send a GET request to `/v2/databases/$DATABASE_ID/logsink/$LOGSINK_ID`.
认证
需要 Connected AccountScopes
database:readTags
Retrieve the Status of an Online MigrationDIGITALOCEAN_DATABASES_GET_MIGRATION_STATUSTo retrieve the status of the most recent online migration, send a GET request to `/v2/databases/$DATABASE_ID/online-migration`.需要连接1 scope
To retrieve the status of the most recent online migration, send a GET request to `/v2/databases/$DATABASE_ID/online-migration`.
认证
需要 Connected AccountScopes
database:readTags
Retrieve an Existing Read-only ReplicaDIGITALOCEAN_DATABASES_GET_REPLICATo show information about an existing database replica, send a GET request to `/v2/databases/$DATABASE_ID/replicas/$REPLICA_NAME`. **Note**: Read-only replicas are not supported for Caching or Valkey clusters. The response will be a JSON object with a `replica key`. This will be set to an object containing the standard database replica attributes.需要连接1 scope
To show information about an existing database replica, send a GET request to `/v2/databases/$DATABASE_ID/replicas/$REPLICA_NAME`. **Note**: Read-only replicas are not supported for Caching or Valkey clusters. The response will be a JSON object with a `replica key`. This will be set to an object containing the standard database replica attributes.
认证
需要 Connected AccountScopes
database:readTags
Retrieve the SQL Modes for a MySQL ClusterDIGITALOCEAN_DATABASES_GET_SQL_MODETo retrieve the configured SQL modes for an existing MySQL cluster, send a GET request to `/v2/databases/$DATABASE_ID/sql_mode`. The response will be a JSON object with a `sql_mode` key. This will be set to a string representing the configured SQL modes.需要连接1 scope
To retrieve the configured SQL modes for an existing MySQL cluster, send a GET request to `/v2/databases/$DATABASE_ID/sql_mode`. The response will be a JSON object with a `sql_mode` key. This will be set to a string representing the configured SQL modes.
认证
需要 Connected AccountScopes
database:readTags
Retrieve an Existing Database UserDIGITALOCEAN_DATABASES_GET_USERTo show information about an existing database user, send a GET request to `/v2/databases/$DATABASE_ID/users/$USERNAME`. Note: User management is not supported for Caching or Valkey clusters. The response will be a JSON object with a `user` key. This will be set to an object containing the standard database user attributes. The user's password will not show up unless the `database:view_credentials` scope is present. For MySQL clusters, additional options will be contained in the `mysql_settings` object. For PostgreSQL clusters, additional options will be contained in the `settings` object (for example, `pg_allow_replication`). For Kafka clusters, additional options will be contained in the `settings` object. For MongoDB clusters, additional information will be contained in the mongo_user_settings object需要连接1 scope
To show information about an existing database user, send a GET request to `/v2/databases/$DATABASE_ID/users/$USERNAME`. Note: User management is not supported for Caching or Valkey clusters. The response will be a JSON object with a `user` key. This will be set to an object containing the standard database user attributes. The user's password will not show up unless the `database:view_credentials` scope is present. For MySQL clusters, additional options will be contained in the `mysql_settings` object. For PostgreSQL clusters, additional options will be contained in the `settings` object (for example, `pg_allow_replication`). For Kafka clusters, additional options will be contained in the `settings` object. For MongoDB clusters, additional information will be contained in the mongo_user_settings object
认证
需要 Connected AccountScopes
database:readTags
Start Database MaintenanceDIGITALOCEAN_DATABASES_INSTALL_UPDATETo start the installation of updates for a database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/install_update`. A successful request will receive a 204 No Content status code with no body in response.需要连接1 scope
To start the installation of updates for a database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/install_update`. A successful request will receive a 204 No Content status code with no body in response.
认证
需要 Connected AccountScopes
database:updateTags
List All DatabasesDIGITALOCEAN_DATABASES_LISTTo list all of the databases in a clusters, send a GET request to `/v2/databases/$DATABASE_ID/dbs`. The result will be a JSON object with a `dbs` key. This will be set to an array of database objects, each of which will contain the standard database attributes. Note: Database management is not supported for Caching or Valkey clusters.需要连接1 scope
To list all of the databases in a clusters, send a GET request to `/v2/databases/$DATABASE_ID/dbs`. The result will be a JSON object with a `dbs` key. This will be set to an array of database objects, each of which will contain the standard database attributes. Note: Database management is not supported for Caching or Valkey clusters.
认证
需要 Connected AccountScopes
database:readTags
List Backups for a Database ClusterDIGITALOCEAN_DATABASES_LIST_BACKUPSTo list all of the available backups of a PostgreSQL or MySQL database cluster, send a GET request to `/v2/databases/$DATABASE_ID/backups`. **Note**: Backups are not supported for Caching or Valkey clusters. The result will be a JSON object with a `backups key`. This will be set to an array of backup objects, each of which will contain the size of the backup and the timestamp at which it was created.需要连接1 scope
To list all of the available backups of a PostgreSQL or MySQL database cluster, send a GET request to `/v2/databases/$DATABASE_ID/backups`. **Note**: Backups are not supported for Caching or Valkey clusters. The result will be a JSON object with a `backups key`. This will be set to an array of backup objects, each of which will contain the size of the backup and the timestamp at which it was created.
认证
需要 Connected AccountScopes
database:readTags
List All Database ClustersDIGITALOCEAN_DATABASES_LIST_CLUSTERSTo list all of the database clusters available on your account, send a GET request to `/v2/databases`. To limit the results to database clusters with a specific tag, include the `tag_name` query parameter set to the name of the tag. For example, `/v2/databases?tag_name=$TAG_NAME`. The result will be a JSON object with a `databases` key. This will be set to an array of database objects, each of which will contain the standard database attributes. The embedded `connection` and `private_connection` objects will contain the information needed to access the database cluster. For multi-node clusters, the `standby_connection` and `standby_private_connection` objects will contain the information needed to connect to the cluster's standby node(s). The embedded `maintenance_window` object will contain information about any scheduled maintenance for the database cluster.需要连接1 scope
To list all of the database clusters available on your account, send a GET request to `/v2/databases`. To limit the results to database clusters with a specific tag, include the `tag_name` query parameter set to the name of the tag. For example, `/v2/databases?tag_name=$TAG_NAME`. The result will be a JSON object with a `databases` key. This will be set to an array of database objects, each of which will contain the standard database attributes. The embedded `connection` and `private_connection` objects will contain the information needed to access the database cluster. For multi-node clusters, the `standby_connection` and `standby_private_connection` objects will contain the information needed to connect to the cluster's standby node(s). The embedded `maintenance_window` object will contain information about any scheduled maintenance for the database cluster.
认证
需要 Connected AccountScopes
database:readTags
List Connection Pools (PostgreSQL)DIGITALOCEAN_DATABASES_LIST_CONNECTION_POOLSTo list all of the connection pools available to a PostgreSQL database cluster, send a GET request to `/v2/databases/$DATABASE_ID/pools`. The result will be a JSON object with a `pools` key. This will be set to an array of connection pool objects.需要连接1 scope
To list all of the connection pools available to a PostgreSQL database cluster, send a GET request to `/v2/databases/$DATABASE_ID/pools`. The result will be a JSON object with a `pools` key. This will be set to an array of connection pool objects.
认证
需要 Connected AccountScopes
database:readTags
List all Events LogsDIGITALOCEAN_DATABASES_LIST_EVENTS_LOGSTo list all of the cluster events, send a GET request to `/v2/databases/$DATABASE_ID/events`. The result will be a JSON object with a `events` key.需要连接1 scope
To list all of the cluster events, send a GET request to `/v2/databases/$DATABASE_ID/events`. The result will be a JSON object with a `events` key.
认证
需要 Connected AccountScopes
database:readTags
List Firewall Rules (Trusted Sources) for a Database ClusterDIGITALOCEAN_DATABASES_LIST_FIREWALL_RULESTo list all of a database cluster's firewall rules (known as "trusted sources" in the control panel), send a GET request to `/v2/databases/$DATABASE_ID/firewall`. The result will be a JSON object with a `rules` key.需要连接1 scope
To list all of a database cluster's firewall rules (known as "trusted sources" in the control panel), send a GET request to `/v2/databases/$DATABASE_ID/firewall`. The result will be a JSON object with a `rules` key.
认证
需要 Connected AccountScopes
database:readTags
List Schemas for Kafka ClusterDIGITALOCEAN_DATABASES_LIST_KAFKA_SCHEMASTo list all schemas for a Kafka cluster, send a GET request to `/v2/databases/$DATABASE_ID/schema-registry`.需要连接1 scope
To list all schemas for a Kafka cluster, send a GET request to `/v2/databases/$DATABASE_ID/schema-registry`.
认证
需要 Connected AccountScopes
database:readTags
List Topics for a Kafka ClusterDIGITALOCEAN_DATABASES_LIST_KAFKA_TOPICSTo list all of a Kafka cluster's topics, send a GET request to `/v2/databases/$DATABASE_ID/topics`. The result will be a JSON object with a `topics` key.需要连接1 scope
To list all of a Kafka cluster's topics, send a GET request to `/v2/databases/$DATABASE_ID/topics`. The result will be a JSON object with a `topics` key.
认证
需要 Connected AccountScopes
database:readTags
List Logsinks for a Database ClusterDIGITALOCEAN_DATABASES_LIST_LOGSINKTo list logsinks for a database cluster, send a GET request to `/v2/databases/$DATABASE_ID/logsink`.需要连接1 scope
To list logsinks for a database cluster, send a GET request to `/v2/databases/$DATABASE_ID/logsink`.
认证
需要 Connected AccountScopes
database:readTags
List Indexes for a OpenSearch ClusterDIGITALOCEAN_DATABASES_LIST_OPEASEARCH_INDEXESTo list all of a OpenSearch cluster's indexes, send a GET request to `/v2/databases/$DATABASE_ID/indexes`. The result will be a JSON object with a `indexes` key.需要连接1 scope
To list all of a OpenSearch cluster's indexes, send a GET request to `/v2/databases/$DATABASE_ID/indexes`. The result will be a JSON object with a `indexes` key.
认证
需要 Connected AccountScopes
database:readTags
List Database OptionsDIGITALOCEAN_DATABASES_LIST_OPTIONSTo list all of the options available for the offered database engines, send a GET request to `/v2/databases/options`. The result will be a JSON object with an `options` key.需要连接1 scope
To list all of the options available for the offered database engines, send a GET request to `/v2/databases/options`. The result will be a JSON object with an `options` key.
认证
需要 Connected AccountScopes
database:readTags
List All Read-only ReplicasDIGITALOCEAN_DATABASES_LIST_REPLICASTo list all of the read-only replicas associated with a database cluster, send a GET request to `/v2/databases/$DATABASE_ID/replicas`. **Note**: Read-only replicas are not supported for Caching or Valkey clusters. The result will be a JSON object with a `replicas` key. This will be set to an array of database replica objects, each of which will contain the standard database replica attributes.需要连接1 scope
To list all of the read-only replicas associated with a database cluster, send a GET request to `/v2/databases/$DATABASE_ID/replicas`. **Note**: Read-only replicas are not supported for Caching or Valkey clusters. The result will be a JSON object with a `replicas` key. This will be set to an array of database replica objects, each of which will contain the standard database replica attributes.
认证
需要 Connected AccountScopes
database:readTags
List all Database UsersDIGITALOCEAN_DATABASES_LIST_USERSTo list all of the users for your database cluster, send a GET request to `/v2/databases/$DATABASE_ID/users`. Note: User management is not supported for Caching or Valkey clusters. The result will be a JSON object with a `users` key. This will be set to an array of database user objects, each of which will contain the standard database user attributes. User passwords will not show without the `database:view_credentials` scope. For MySQL clusters, additional options will be contained in the mysql_settings object. For PostgreSQL clusters, additional options will be contained in the `settings` object (for example, `pg_allow_replication`). For Kafka clusters, additional options will be contained in the `settings` object. For MongoDB clusters, additional information will be contained in the mongo_user_settings object需要连接1 scope
To list all of the users for your database cluster, send a GET request to `/v2/databases/$DATABASE_ID/users`. Note: User management is not supported for Caching or Valkey clusters. The result will be a JSON object with a `users` key. This will be set to an array of database user objects, each of which will contain the standard database user attributes. User passwords will not show without the `database:view_credentials` scope. For MySQL clusters, additional options will be contained in the mysql_settings object. For PostgreSQL clusters, additional options will be contained in the `settings` object (for example, `pg_allow_replication`). For Kafka clusters, additional options will be contained in the `settings` object. For MongoDB clusters, additional information will be contained in the mongo_user_settings object
认证
需要 Connected AccountScopes
database:readTags
Update the Database Configuration for an Existing DatabaseDIGITALOCEAN_DATABASES_PATCH_CONFIGTo update the configuration for an existing database cluster, send a PATCH request to `/v2/databases/$DATABASE_ID/config`.需要连接1 scope
To update the configuration for an existing database cluster, send a PATCH request to `/v2/databases/$DATABASE_ID/config`.
认证
需要 Connected AccountScopes
database:updateTags
Promote a Read-only Replica to become a Primary ClusterDIGITALOCEAN_DATABASES_PROMOTE_REPLICATo promote a specific read-only replica, send a PUT request to `/v2/databases/$DATABASE_ID/replicas/$REPLICA_NAME/promote`. **Note**: Read-only replicas are not supported for Caching or Valkey clusters. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.需要连接1 scope
To promote a specific read-only replica, send a PUT request to `/v2/databases/$DATABASE_ID/replicas/$REPLICA_NAME/promote`. **Note**: Read-only replicas are not supported for Caching or Valkey clusters. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.
认证
需要 Connected AccountScopes
database:updateTags
Reset a Database User's Password or Authentication MethodDIGITALOCEAN_DATABASES_RESET_AUTHTo reset the password for a database user, send a POST request to `/v2/databases/$DATABASE_ID/users/$USERNAME/reset_auth`. For `mysql` databases, the authentication method can be specifying by including a key in the JSON body called `mysql_settings` with the `auth_plugin` value specified. The response will be a JSON object with a `user` key. This will be set to an object containing the standard database user attributes.需要连接1 scope
To reset the password for a database user, send a POST request to `/v2/databases/$DATABASE_ID/users/$USERNAME/reset_auth`. For `mysql` databases, the authentication method can be specifying by including a key in the JSON body called `mysql_settings` with the `auth_plugin` value specified. The response will be a JSON object with a `user` key. This will be set to an object containing the standard database user attributes.
认证
需要 Connected AccountScopes
database:updateTags
Configure Autoscale Settings for a Database ClusterDIGITALOCEAN_DATABASES_UPDATE_AUTOSCALETo configure autoscale settings for an existing database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/autoscale`, specifying the autoscale configuration. A successful request will receive a 204 No Content status code with no body in response.需要连接1 scope
To configure autoscale settings for an existing database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/autoscale`, specifying the autoscale configuration. A successful request will receive a 204 No Content status code with no body in response.
认证
需要 Connected AccountScopes
database:updateTags
Update Database Clusters' Metrics Endpoint CredentialsDIGITALOCEAN_DATABASES_UPDATE_CLUSTER_METRICS_CREDENTIALSTo update the credentials for all database clusters' metrics endpoints, send a PUT request to `/v2/databases/metrics/credentials`. A successful request will receive a 204 No Content status code with no body in response.需要连接1 scope
To update the credentials for all database clusters' metrics endpoints, send a PUT request to `/v2/databases/metrics/credentials`. A successful request will receive a 204 No Content status code with no body in response.
认证
需要 Connected AccountScopes
database:updateTags
Resize a Database ClusterDIGITALOCEAN_DATABASES_UPDATE_CLUSTER_SIZETo resize a database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/resize`. The body of the request must specify both the size and num_nodes attributes. A successful request will receive a 202 Accepted status code with no body in response. Querying the database cluster will show that its status attribute will now be set to resizing. This will transition back to online when the resize operation has completed.需要连接1 scope
To resize a database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/resize`. The body of the request must specify both the size and num_nodes attributes. A successful request will receive a 202 Accepted status code with no body in response. Querying the database cluster will show that its status attribute will now be set to resizing. This will transition back to online when the resize operation has completed.
认证
需要 Connected AccountScopes
database:updateTags
Update Connection Pools (PostgreSQL)DIGITALOCEAN_DATABASES_UPDATE_CONNECTION_POOLTo update a connection pool for a PostgreSQL database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/pools/$POOL_NAME`.需要连接1 scope
To update a connection pool for a PostgreSQL database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/pools/$POOL_NAME`.
认证
需要 Connected AccountScopes
database:updateTags
Update DO Settings for a Database ClusterDIGITALOCEAN_DATABASES_UPDATE_DO_SETTINGSTo update the DigitalOcean-specific settings for a database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/do_settings`. Currently, the only supported setting is `service_cnames`, which allows you to specify custom DNS names (CNAMEs) to be included in the TLS certificate Subject Alternative Names (SANs) for the database cluster nodes. This enables TLS verification when connecting via a custom hostname. After updating, the database nodes will be replaced to apply the new certificate. This process is performed as a rolling replacement and does not cause downtime. To clear all custom CNAMEs, send an empty array or omit the field.需要连接1 scope
To update the DigitalOcean-specific settings for a database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/do_settings`. Currently, the only supported setting is `service_cnames`, which allows you to specify custom DNS names (CNAMEs) to be included in the TLS certificate Subject Alternative Names (SANs) for the database cluster nodes. This enables TLS verification when connecting via a custom hostname. After updating, the database nodes will be replaced to apply the new certificate. This process is performed as a rolling replacement and does not cause downtime. To clear all custom CNAMEs, send an empty array or omit the field.
认证
需要 Connected AccountScopes
database:updateTags
Configure the Eviction Policy for a Caching or Valkey ClusterDIGITALOCEAN_DATABASES_UPDATE_EVICTION_POLICYTo configure an eviction policy for an existing Caching or Valkey cluster, send a PUT request to `/v2/databases/$DATABASE_ID/eviction_policy` specifying the desired policy.需要连接1 scope
To configure an eviction policy for an existing Caching or Valkey cluster, send a PUT request to `/v2/databases/$DATABASE_ID/eviction_policy` specifying the desired policy.
认证
需要 Connected AccountScopes
database:updateTags
Update Firewall Rules (Trusted Sources) for a DatabaseDIGITALOCEAN_DATABASES_UPDATE_FIREWALL_RULESTo update a database cluster's firewall rules (known as "trusted sources" in the control panel), send a PUT request to `/v2/databases/$DATABASE_ID/firewall` specifying which resources should be able to open connections to the database. You may limit connections to specific Droplets, Kubernetes clusters, or IP addresses. When a tag is provided, any Droplet or Kubernetes node with that tag applied to it will have access. The firewall is limited to 100 rules (or trusted sources). You cannot add IPv6 addresses as trusted sources. For additional limits, see your database engine's limits page. When possible, we recommend [placing your databases into a VPC network](https://docs.digitalocean.com/products/networking/vpc/) to limit access to them instead of using a firewall. A successful request returns a 204 status code with no content.需要连接1 scope
To update a database cluster's firewall rules (known as "trusted sources" in the control panel), send a PUT request to `/v2/databases/$DATABASE_ID/firewall` specifying which resources should be able to open connections to the database. You may limit connections to specific Droplets, Kubernetes clusters, or IP addresses. When a tag is provided, any Droplet or Kubernetes node with that tag applied to it will have access. The firewall is limited to 100 rules (or trusted sources). You cannot add IPv6 addresses as trusted sources. For additional limits, see your database engine's limits page. When possible, we recommend [placing your databases into a VPC network](https://docs.digitalocean.com/products/networking/vpc/) to limit access to them instead of using a firewall. A successful request returns a 204 status code with no content.
认证
需要 Connected AccountScopes
database:updateTags
Update Schema Registry Configuration for a kafka ClusterDIGITALOCEAN_DATABASES_UPDATE_KAFKA_SCHEMA_CONFIGTo update the Schema Registry configuration for a Kafka cluster, send a PUT request to `/v2/databases/$DATABASE_ID/schema-registry/config`. The response is a JSON object with a `compatibility_level` key, which is set to an object containing any database configuration parameters.需要连接1 scope
To update the Schema Registry configuration for a Kafka cluster, send a PUT request to `/v2/databases/$DATABASE_ID/schema-registry/config`. The response is a JSON object with a `compatibility_level` key, which is set to an object containing any database configuration parameters.
认证
需要 Connected AccountScopes
database:writeTags
Update Schema Registry Configuration for a Subject of kafka ClusterDIGITALOCEAN_DATABASES_UPDATE_KAFKA_SCHEMA_SUBJECT_CONFIGTo update the Schema Registry configuration for a Subject of a Kafka cluster, send a PUT request to `/v2/databases/$DATABASE_ID/schema-registry/config/$SUBJECT_NAME`. The response is a JSON object with a `compatibility_level` key, which is set to an object containing any database configuration parameters.需要连接1 scope
To update the Schema Registry configuration for a Subject of a Kafka cluster, send a PUT request to `/v2/databases/$DATABASE_ID/schema-registry/config/$SUBJECT_NAME`. The response is a JSON object with a `compatibility_level` key, which is set to an object containing any database configuration parameters.
认证
需要 Connected AccountScopes
database:writeTags
Update Topic for a Kafka ClusterDIGITALOCEAN_DATABASES_UPDATE_KAFKA_TOPICTo update a topic attached to a Kafka cluster, send a PUT request to `/v2/databases/$DATABASE_ID/topics/$TOPIC_NAME`. The result will be a JSON object with a `topic` key.需要连接1 scope
To update a topic attached to a Kafka cluster, send a PUT request to `/v2/databases/$DATABASE_ID/topics/$TOPIC_NAME`. The result will be a JSON object with a `topic` key.
认证
需要 Connected AccountScopes
database:updateTags
Update Logsink for a Database ClusterDIGITALOCEAN_DATABASES_UPDATE_LOGSINKTo update a logsink for a database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/logsink/$LOGSINK_ID`.需要连接1 scope
To update a logsink for a database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/logsink/$LOGSINK_ID`.
认证
需要 Connected AccountScopes
database:updateTags
Configure a Database Cluster's Maintenance WindowDIGITALOCEAN_DATABASES_UPDATE_MAINTENANCE_WINDOWTo configure the window when automatic maintenance should be performed for a database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/maintenance`. A successful request will receive a 204 No Content status code with no body in response.需要连接1 scope
To configure the window when automatic maintenance should be performed for a database cluster, send a PUT request to `/v2/databases/$DATABASE_ID/maintenance`. A successful request will receive a 204 No Content status code with no body in response.
认证
需要 Connected AccountScopes
database:updateTags
Upgrade Major Version for a DatabaseDIGITALOCEAN_DATABASES_UPDATE_MAJOR_VERSIONTo upgrade the major version of a database, send a PUT request to `/v2/databases/$DATABASE_ID/upgrade`, specifying the target version. A successful request will receive a 204 No Content status code with no body in response.需要连接1 scope
To upgrade the major version of a database, send a PUT request to `/v2/databases/$DATABASE_ID/upgrade`, specifying the target version. A successful request will receive a 204 No Content status code with no body in response.
认证
需要 Connected AccountScopes
database:updateTags
Start an Online MigrationDIGITALOCEAN_DATABASES_UPDATE_ONLINE_MIGRATIONTo start an online migration, send a PUT request to `/v2/databases/$DATABASE_ID/online-migration` endpoint. Migrating a cluster establishes a connection with an existing cluster and replicates its contents to the target cluster. Online migration is only available for MySQL, PostgreSQL, Caching, and Valkey clusters. If the existing database is continuously being written to, the migration process will continue for up to two weeks unless it is manually stopped. Online migration is only available for [MySQL](https://docs.digitalocean.com/products/databases/mysql/how-to/migrate/#:~:text=To%20migrate%20a%20MySQL%20database,then%20select%20Set%20Up%20Migration), [PostgreSQL](https://docs.digitalocean.com/products/databases/postgresql/how-to/migrate/), [Caching](https://docs.digitalocean.com/products/databases/redis/how-to/migrate/), and [Valkey](https://docs.digitalocean.com/products/databases/valkey/how-to/migrate/) clusters.需要连接1 scope
To start an online migration, send a PUT request to `/v2/databases/$DATABASE_ID/online-migration` endpoint. Migrating a cluster establishes a connection with an existing cluster and replicates its contents to the target cluster. Online migration is only available for MySQL, PostgreSQL, Caching, and Valkey clusters. If the existing database is continuously being written to, the migration process will continue for up to two weeks unless it is manually stopped. Online migration is only available for [MySQL](https://docs.digitalocean.com/products/databases/mysql/how-to/migrate/#:~:text=To%20migrate%20a%20MySQL%20database,then%20select%20Set%20Up%20Migration), [PostgreSQL](https://docs.digitalocean.com/products/databases/postgresql/how-to/migrate/), [Caching](https://docs.digitalocean.com/products/databases/redis/how-to/migrate/), and [Valkey](https://docs.digitalocean.com/products/databases/valkey/how-to/migrate/) clusters.
认证
需要 Connected AccountScopes
database:updateTags
Migrate a Database Cluster to a New RegionDIGITALOCEAN_DATABASES_UPDATE_REGIONTo migrate a database cluster to a new region, send a `PUT` request to `/v2/databases/$DATABASE_ID/migrate`. The body of the request must specify a `region` attribute. A successful request will receive a 202 Accepted status code with no body in response. Querying the database cluster will show that its `status` attribute will now be set to `migrating`. This will transition back to `online` when the migration has completed.需要连接1 scope
To migrate a database cluster to a new region, send a `PUT` request to `/v2/databases/$DATABASE_ID/migrate`. The body of the request must specify a `region` attribute. A successful request will receive a 202 Accepted status code with no body in response. Querying the database cluster will show that its `status` attribute will now be set to `migrating`. This will transition back to `online` when the migration has completed.
认证
需要 Connected AccountScopes
database:updateTags
Update SQL Mode for a ClusterDIGITALOCEAN_DATABASES_UPDATE_SQL_MODETo configure the SQL modes for an existing MySQL cluster, send a PUT request to `/v2/databases/$DATABASE_ID/sql_mode` specifying the desired modes. See the official MySQL 8 documentation for a [full list of supported SQL modes](https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html#sql-mode-full). A successful request will receive a 204 No Content status code with no body in response.需要连接1 scope
To configure the SQL modes for an existing MySQL cluster, send a PUT request to `/v2/databases/$DATABASE_ID/sql_mode` specifying the desired modes. See the official MySQL 8 documentation for a [full list of supported SQL modes](https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html#sql-mode-full). A successful request will receive a 204 No Content status code with no body in response.
认证
需要 Connected AccountScopes
database:updateTags
Update a Database UserDIGITALOCEAN_DATABASES_UPDATE_USERTo update an existing database user, send a PUT request to `/v2/databases/$DATABASE_ID/users/$USERNAME` with the desired settings. **Note**: only `settings` can be updated via this type of request. If you wish to change the name of a user, you must recreate a new user. For PostgreSQL clusters, you can update `settings.pg_allow_replication` to enable or disable replication privileges for the user. When omitted, the value defaults to `false`. For Kafka and OpenSearch clusters, additional options can be configured in the `settings` object (for example, topic or index ACLs). The response will be a JSON object with a key called `user`. The value of this will be an object that contains the name of the updated database user, along with the `settings` object that has been updated.需要连接1 scope
To update an existing database user, send a PUT request to `/v2/databases/$DATABASE_ID/users/$USERNAME` with the desired settings. **Note**: only `settings` can be updated via this type of request. If you wish to change the name of a user, you must recreate a new user. For PostgreSQL clusters, you can update `settings.pg_allow_replication` to enable or disable replication privileges for the user. When omitted, the value defaults to `false`. For Kafka and OpenSearch clusters, additional options can be configured in the `settings` object (for example, topic or index ACLs). The response will be a JSON object with a key called `user`. The value of this will be an object that contains the name of the updated database user, along with the `settings` object that has been updated.
认证
需要 Connected AccountScopes
database:updateTags
Create a Dedicated InferenceDIGITALOCEAN_DEDICATED_INFERENCES_CREATECreate a new Dedicated Inference for your team. Send a POST request to `/v2/dedicated-inferences` with a `spec` object (version, name, region, vpc, enable_public_endpoint, model_deployments) and optional `access_tokens` (e.g. hugging_face_token for gated models). The response code 202 Accepted indicates the request was accepted for processing; it does not indicate success or failure. The token value is returned only on create; store it securely.需要连接1 scope
Create a new Dedicated Inference for your team. Send a POST request to `/v2/dedicated-inferences` with a `spec` object (version, name, region, vpc, enable_public_endpoint, model_deployments) and optional `access_tokens` (e.g. hugging_face_token for gated models). The response code 202 Accepted indicates the request was accepted for processing; it does not indicate success or failure. The token value is returned only on create; store it securely.
认证
需要 Connected AccountScopes
dedicated_inference:createTags
Create a Dedicated Inference TokenDIGITALOCEAN_DEDICATED_INFERENCES_CREATE_TOKENSCreate a new access token for a Dedicated Inference instance. Send a POST request to `/v2/dedicated-inferences/{dedicated_inference_id}/tokens` with a `name`. The token value is returned only once in the response; store it securely.需要连接1 scope
Create a new access token for a Dedicated Inference instance. Send a POST request to `/v2/dedicated-inferences/{dedicated_inference_id}/tokens` with a `name`. The token value is returned only once in the response; store it securely.
认证
需要 Connected AccountScopes
dedicated_inference_tokens:createTags
Delete a Dedicated InferenceDIGITALOCEAN_DEDICATED_INFERENCES_DELETEDelete an existing Dedicated Inference. Send a DELETE request to `/v2/dedicated-inferences/{dedicated_inference_id}`. The response 202 Accepted indicates the request was accepted for processing.需要连接1 scope
Delete an existing Dedicated Inference. Send a DELETE request to `/v2/dedicated-inferences/{dedicated_inference_id}`. The response 202 Accepted indicates the request was accepted for processing.
认证
需要 Connected AccountScopes
dedicated_inference:deleteTags
Revoke a Dedicated Inference TokenDIGITALOCEAN_DEDICATED_INFERENCES_DELETE_TOKENSRevoke (delete) an access token for a Dedicated Inference instance. Send a DELETE request to `/v2/dedicated-inferences/{dedicated_inference_id}/tokens/{token_id}`.需要连接1 scope
Revoke (delete) an access token for a Dedicated Inference instance. Send a DELETE request to `/v2/dedicated-inferences/{dedicated_inference_id}/tokens/{token_id}`.
认证
需要 Connected AccountScopes
dedicated_inference_tokens:deleteTags
Get a Dedicated InferenceDIGITALOCEAN_DEDICATED_INFERENCES_GETRetrieve an existing Dedicated Inference by ID. Send a GET request to `/v2/dedicated-inferences/{dedicated_inference_id}`. The status in the response is one of active, new, provisioning, updating, deleting, or error.需要连接1 scope
Retrieve an existing Dedicated Inference by ID. Send a GET request to `/v2/dedicated-inferences/{dedicated_inference_id}`. The status in the response is one of active, new, provisioning, updating, deleting, or error.
认证
需要 Connected AccountScopes
dedicated_inference:readTags
Get a Dedicated Inference AcceleratorDIGITALOCEAN_DEDICATED_INFERENCES_GET_ACCELERATORRetrieve a single accelerator by ID for a Dedicated Inference instance. Send a GET request to `/v2/dedicated-inferences/{dedicated_inference_id}/accelerators/{accelerator_id}`.需要连接1 scope
Retrieve a single accelerator by ID for a Dedicated Inference instance. Send a GET request to `/v2/dedicated-inferences/{dedicated_inference_id}/accelerators/{accelerator_id}`.
认证
需要 Connected AccountScopes
dedicated_inference:readTags
Get Dedicated Inference CA CertificateDIGITALOCEAN_DEDICATED_INFERENCES_GET_CAGet the CA certificate for a Dedicated Inference instance (base64-encoded). Required for private endpoint connectivity. Send a GET request to `/v2/dedicated-inferences/{dedicated_inference_id}/ca`.需要连接1 scope
Get the CA certificate for a Dedicated Inference instance (base64-encoded). Required for private endpoint connectivity. Send a GET request to `/v2/dedicated-inferences/{dedicated_inference_id}/ca`.
认证
需要 Connected AccountScopes
dedicated_inference:readTags
Get Dedicated Inference GPU Model ConfigDIGITALOCEAN_DEDICATED_INFERENCES_GET_GPU_MODEL_CONFIGGet supported GPU and model configurations for Dedicated Inference. Use this to discover supported GPU slugs and model slugs (e.g. Hugging Face). Send a GET request to `/v2/dedicated-inferences/gpu-model-config`.需要连接1 scope
Get supported GPU and model configurations for Dedicated Inference. Use this to discover supported GPU slugs and model slugs (e.g. Hugging Face). Send a GET request to `/v2/dedicated-inferences/gpu-model-config`.
认证
需要 Connected AccountScopes
dedicated_inference:readTags
List Dedicated InferencesDIGITALOCEAN_DEDICATED_INFERENCES_LISTList all Dedicated Inference instances for your team. Send a GET request to `/v2/dedicated-inferences`. You may filter by region and use page and per_page for pagination.需要连接1 scope
List all Dedicated Inference instances for your team. Send a GET request to `/v2/dedicated-inferences`. You may filter by region and use page and per_page for pagination.
认证
需要 Connected AccountScopes
dedicated_inference:readTags
List Dedicated Inference AcceleratorsDIGITALOCEAN_DEDICATED_INFERENCES_LIST_ACCELERATORSList all accelerators (GPUs) in use by a Dedicated Inference instance. Send a GET request to `/v2/dedicated-inferences/{dedicated_inference_id}/accelerators`. Optionally filter by slug and use page/per_page for pagination.需要连接1 scope
List all accelerators (GPUs) in use by a Dedicated Inference instance. Send a GET request to `/v2/dedicated-inferences/{dedicated_inference_id}/accelerators`. Optionally filter by slug and use page/per_page for pagination.
认证
需要 Connected AccountScopes
dedicated_inference:readTags
List Dedicated Inference SizesDIGITALOCEAN_DEDICATED_INFERENCES_LIST_SIZESGet available Dedicated Inference sizes and pricing for supported GPUs. Send a GET request to `/v2/dedicated-inferences/sizes`.需要连接1 scope
Get available Dedicated Inference sizes and pricing for supported GPUs. Send a GET request to `/v2/dedicated-inferences/sizes`.
认证
需要 Connected AccountScopes
dedicated_inference:readTags
List Dedicated Inference TokensDIGITALOCEAN_DEDICATED_INFERENCES_LIST_TOKENSList all access tokens for a Dedicated Inference instance. Token values are not returned; only id, name, created_at, and is_managed. Send a GET request to `/v2/dedicated-inferences/{dedicated_inference_id}/tokens`.需要连接1 scope
List all access tokens for a Dedicated Inference instance. Token values are not returned; only id, name, created_at, and is_managed. Send a GET request to `/v2/dedicated-inferences/{dedicated_inference_id}/tokens`.
认证
需要 Connected AccountScopes
dedicated_inference_tokens:readTags
Update a Dedicated InferenceDIGITALOCEAN_DEDICATED_INFERENCES_PATCHUpdate an existing Dedicated Inference. Send a PATCH request to `/v2/dedicated-inferences/{dedicated_inference_id}` with updated `spec` and/or `access_tokens`. Status will move to updating and return to active when done.需要连接1 scope
Update an existing Dedicated Inference. Send a PATCH request to `/v2/dedicated-inferences/{dedicated_inference_id}` with updated `spec` and/or `access_tokens`. Status will move to updating and return to active when done.
认证
需要 Connected AccountScopes
dedicated_inference:updateTags
Create a New DomainDIGITALOCEAN_DOMAINS_CREATETo create a new domain, send a POST request to `/v2/domains`. Set the "name" attribute to the domain name you are adding. Optionally, you may set the "ip_address" attribute, and an A record will be automatically created pointing to the apex domain.需要连接1 scope
To create a new domain, send a POST request to `/v2/domains`. Set the "name" attribute to the domain name you are adding. Optionally, you may set the "ip_address" attribute, and an A record will be automatically created pointing to the apex domain.
认证
需要 Connected AccountScopes
domain:createTags
Create a New Domain RecordDIGITALOCEAN_DOMAINS_CREATE_RECORDTo create a new record to a domain, send a POST request to `/v2/domains/$DOMAIN_NAME/records`. The request must include all of the required fields for the domain record type being added. See the [attribute table](#tag/Domain-Records) for details regarding record types and their respective required attributes.需要连接2 scopes
To create a new record to a domain, send a POST request to `/v2/domains/$DOMAIN_NAME/records`. The request must include all of the required fields for the domain record type being added. See the [attribute table](#tag/Domain-Records) for details regarding record types and their respective required attributes.
认证
需要 Connected AccountScopes
domain:createdomain:updateTags
Delete a DomainDIGITALOCEAN_DOMAINS_DELETETo delete a domain, send a DELETE request to `/v2/domains/$DOMAIN_NAME`.需要连接1 scope
To delete a domain, send a DELETE request to `/v2/domains/$DOMAIN_NAME`.
认证
需要 Connected AccountScopes
domain:deleteTags
Delete a Domain RecordDIGITALOCEAN_DOMAINS_DELETE_RECORDTo delete a record for a domain, send a DELETE request to `/v2/domains/$DOMAIN_NAME/records/$DOMAIN_RECORD_ID`. The record will be deleted and the response status will be a 204. This indicates a successful request with no body returned.需要连接2 scopes
To delete a record for a domain, send a DELETE request to `/v2/domains/$DOMAIN_NAME/records/$DOMAIN_RECORD_ID`. The record will be deleted and the response status will be a 204. This indicates a successful request with no body returned.
认证
需要 Connected AccountScopes
domain:deletedomain:updateTags
Retrieve an Existing DomainDIGITALOCEAN_DOMAINS_GETTo get details about a specific domain, send a GET request to `/v2/domains/$DOMAIN_NAME`.需要连接1 scope
To get details about a specific domain, send a GET request to `/v2/domains/$DOMAIN_NAME`.
认证
需要 Connected AccountScopes
domain:readTags
Retrieve an Existing Domain RecordDIGITALOCEAN_DOMAINS_GET_RECORDTo retrieve a specific domain record, send a GET request to `/v2/domains/$DOMAIN_NAME/records/$RECORD_ID`.需要连接1 scope
To retrieve a specific domain record, send a GET request to `/v2/domains/$DOMAIN_NAME/records/$RECORD_ID`.
认证
需要 Connected AccountScopes
domain:readTags
List All DomainsDIGITALOCEAN_DOMAINS_LISTTo retrieve a list of all of the domains in your account, send a GET request to `/v2/domains`.需要连接1 scope
To retrieve a list of all of the domains in your account, send a GET request to `/v2/domains`.
认证
需要 Connected AccountScopes
domain:readTags
List All Domain RecordsDIGITALOCEAN_DOMAINS_LIST_RECORDSTo get a listing of all records configured for a domain, send a GET request to `/v2/domains/$DOMAIN_NAME/records`. The list of records returned can be filtered by using the `name` and `type` query parameters. For example, to only include A records for a domain, send a GET request to `/v2/domains/$DOMAIN_NAME/records?type=A`. `name` must be a fully qualified record name. For example, to only include records matching `sub.example.com`, send a GET request to `/v2/domains/$DOMAIN_NAME/records?name=sub.example.com`. Both name and type may be used together.需要连接1 scope
To get a listing of all records configured for a domain, send a GET request to `/v2/domains/$DOMAIN_NAME/records`. The list of records returned can be filtered by using the `name` and `type` query parameters. For example, to only include A records for a domain, send a GET request to `/v2/domains/$DOMAIN_NAME/records?type=A`. `name` must be a fully qualified record name. For example, to only include records matching `sub.example.com`, send a GET request to `/v2/domains/$DOMAIN_NAME/records?name=sub.example.com`. Both name and type may be used together.
认证
需要 Connected AccountScopes
domain:readTags
Update a Domain RecordDIGITALOCEAN_DOMAINS_PATCH_RECORDTo update an existing record, send a PATCH request to `/v2/domains/$DOMAIN_NAME/records/$DOMAIN_RECORD_ID`. Any attribute valid for the record type can be set to a new value for the record. See the [attribute table](#tag/Domain-Records) for details regarding record types and their respective attributes.需要连接1 scope
To update an existing record, send a PATCH request to `/v2/domains/$DOMAIN_NAME/records/$DOMAIN_RECORD_ID`. Any attribute valid for the record type can be set to a new value for the record. See the [attribute table](#tag/Domain-Records) for details regarding record types and their respective attributes.
认证
需要 Connected AccountScopes
domain:updateTags
Update a Domain RecordDIGITALOCEAN_DOMAINS_UPDATE_RECORDTo update an existing record, send a PUT request to `/v2/domains/$DOMAIN_NAME/records/$DOMAIN_RECORD_ID`. Any attribute valid for the record type can be set to a new value for the record. See the [attribute table](#tag/Domain-Records) for details regarding record types and their respective attributes.需要连接1 scope
To update an existing record, send a PUT request to `/v2/domains/$DOMAIN_NAME/records/$DOMAIN_RECORD_ID`. Any attribute valid for the record type can be set to a new value for the record. See the [attribute table](#tag/Domain-Records) for details regarding record types and their respective attributes.
认证
需要 Connected AccountScopes
domain:updateTags
Retrieve a Droplet ActionDIGITALOCEAN_DROPLET_ACTIONS_GETTo retrieve a Droplet action, send a GET request to `/v2/droplets/$DROPLET_ID/actions/$ACTION_ID`. The response will be a JSON object with a key called `action`. The value will be a Droplet action object.需要连接1 scope
To retrieve a Droplet action, send a GET request to `/v2/droplets/$DROPLET_ID/actions/$ACTION_ID`. The response will be a JSON object with a key called `action`. The value will be a Droplet action object.
认证
需要 Connected AccountScopes
droplet:readTags
List Actions for a DropletDIGITALOCEAN_DROPLET_ACTIONS_LISTTo retrieve a list of all actions that have been executed for a Droplet, send a GET request to `/v2/droplets/$DROPLET_ID/actions`. 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 `action` attributes.需要连接1 scope
To retrieve a list of all actions that have been executed for a Droplet, send a GET request to `/v2/droplets/$DROPLET_ID/actions`. 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 `action` attributes.
认证
需要 Connected AccountScopes
droplet:readTags
Initiate a Droplet ActionDIGITALOCEAN_DROPLET_ACTIONS_POSTTo initiate an action on a Droplet send a POST request to `/v2/droplets/$DROPLET_ID/actions`. In the JSON body to the request, set the `type` attribute to one of the supported action types: | Action | Details | Required Permissions | | ---------------------------------------- | ----------- | ----------- | | <nobr>`enable_backups`</nobr> | Enables backups for a Droplet | <nobr>`droplet:update`</nobr> | | <nobr>`disable_backups`</nobr> | Disables backups for a Droplet | <nobr>`droplet:update`</nobr> | | <nobr>`change_backup_policy`</nobr> | Update the backup policy for a Droplet | <nobr>`droplet:update`</nobr> | | <nobr>`reboot`</nobr> | Reboots a Droplet. A `reboot` action is an attempt to reboot the Droplet in a graceful way, similar to using the `reboot` command from the console. | <nobr>`droplet:update`</nobr> | | <nobr>`power_cycle`</nobr> | Power cycles a Droplet. A `powercycle` action is similar to pushing the reset button on a physical machine, it's similar to booting from scratch. | <nobr>`droplet:update`</nobr> | | <nobr>`shutdown`</nobr> | Shuts down a Droplet. A shutdown action is an attempt to shutdown the Droplet in a graceful way, similar to using the `shutdown` command from the console. Since a `shutdown` command can fail, this action guarantees that the command is issued, not that it succeeds. The preferred way to turn off a Droplet is to attempt a shutdown, with a reasonable timeout, followed by a `power_off` action to ensure the Droplet is off. | <nobr>`droplet:update`</nobr> | | <nobr>`power_off`</nobr> | Powers off a Droplet. A `power_off` event is a hard shutdown and should only be used if the `shutdown` action is not successful. It is similar to cutting the power on a server and could lead to complications. | <nobr>`droplet:update`</nobr> | | <nobr>`power_on`</nobr> | Powers on a Droplet. | <nobr>`droplet:update`</nobr> | | <nobr>`restore`</nobr> | Restore a Droplet using a backup image. The image ID that is passed in must be a backup of the current Droplet instance. The operation will leave any embedded SSH keys intact. | <nobr>`droplet:update`</nobr><br><nobr>`droplet:admin`</nobr> | | <nobr>`password_reset`</nobr> | Resets the root password for a Droplet. A new password will be provided via email. It must be changed after first use. | <nobr>`droplet:update`</nobr><br><nobr>`droplet:admin`</nobr> | | <nobr>`resize`</nobr> | Resizes a Droplet. Set the `size` attribute to a size slug. If a permanent resize with disk changes included is desired, set the `disk` attribute to `true`. | <nobr>`droplet:update`</nobr><br><nobr>`droplet:create`</nobr> | | <nobr>`rebuild`</nobr> | Rebuilds a Droplet from a new base image. Set the `image` attribute to an image ID or slug. | <nobr>`droplet:update`</nobr><br><nobr>`droplet:admin`</nobr> | | <nobr>`rename`</nobr> | Renames a Droplet. | <nobr>`droplet:update`</nobr> | | <nobr>`change_kernel`</nobr> | Changes a Droplet's kernel. Only applies to Droplets with externally managed kernels. All Droplets created after March 2017 use internal kernels by default. | <nobr>`droplet:update`</nobr> | | <nobr>`enable_ipv6`</nobr> | Enables IPv6 for a Droplet. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, [additional OS-level configuration](https://docs.digitalocean.com/products/networking/ipv6/how-to/enable/#on-existing-droplets) is required. | <nobr>`droplet:update`</nobr> | | <nobr>`snapshot`</nobr> | Takes a snapshot of a Droplet. | <nobr>`droplet:update`</nobr><br><nobr>`image:create`</nobr> |需要连接1 scope
To initiate an action on a Droplet send a POST request to `/v2/droplets/$DROPLET_ID/actions`. In the JSON body to the request, set the `type` attribute to one of the supported action types: | Action | Details | Required Permissions | | ---------------------------------------- | ----------- | ----------- | | <nobr>`enable_backups`</nobr> | Enables backups for a Droplet | <nobr>`droplet:update`</nobr> | | <nobr>`disable_backups`</nobr> | Disables backups for a Droplet | <nobr>`droplet:update`</nobr> | | <nobr>`change_backup_policy`</nobr> | Update the backup policy for a Droplet | <nobr>`droplet:update`</nobr> | | <nobr>`reboot`</nobr> | Reboots a Droplet. A `reboot` action is an attempt to reboot the Droplet in a graceful way, similar to using the `reboot` command from the console. | <nobr>`droplet:update`</nobr> | | <nobr>`power_cycle`</nobr> | Power cycles a Droplet. A `powercycle` action is similar to pushing the reset button on a physical machine, it's similar to booting from scratch. | <nobr>`droplet:update`</nobr> | | <nobr>`shutdown`</nobr> | Shuts down a Droplet. A shutdown action is an attempt to shutdown the Droplet in a graceful way, similar to using the `shutdown` command from the console. Since a `shutdown` command can fail, this action guarantees that the command is issued, not that it succeeds. The preferred way to turn off a Droplet is to attempt a shutdown, with a reasonable timeout, followed by a `power_off` action to ensure the Droplet is off. | <nobr>`droplet:update`</nobr> | | <nobr>`power_off`</nobr> | Powers off a Droplet. A `power_off` event is a hard shutdown and should only be used if the `shutdown` action is not successful. It is similar to cutting the power on a server and could lead to complications. | <nobr>`droplet:update`</nobr> | | <nobr>`power_on`</nobr> | Powers on a Droplet. | <nobr>`droplet:update`</nobr> | | <nobr>`restore`</nobr> | Restore a Droplet using a backup image. The image ID that is passed in must be a backup of the current Droplet instance. The operation will leave any embedded SSH keys intact. | <nobr>`droplet:update`</nobr><br><nobr>`droplet:admin`</nobr> | | <nobr>`password_reset`</nobr> | Resets the root password for a Droplet. A new password will be provided via email. It must be changed after first use. | <nobr>`droplet:update`</nobr><br><nobr>`droplet:admin`</nobr> | | <nobr>`resize`</nobr> | Resizes a Droplet. Set the `size` attribute to a size slug. If a permanent resize with disk changes included is desired, set the `disk` attribute to `true`. | <nobr>`droplet:update`</nobr><br><nobr>`droplet:create`</nobr> | | <nobr>`rebuild`</nobr> | Rebuilds a Droplet from a new base image. Set the `image` attribute to an image ID or slug. | <nobr>`droplet:update`</nobr><br><nobr>`droplet:admin`</nobr> | | <nobr>`rename`</nobr> | Renames a Droplet. | <nobr>`droplet:update`</nobr> | | <nobr>`change_kernel`</nobr> | Changes a Droplet's kernel. Only applies to Droplets with externally managed kernels. All Droplets created after March 2017 use internal kernels by default. | <nobr>`droplet:update`</nobr> | | <nobr>`enable_ipv6`</nobr> | Enables IPv6 for a Droplet. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, [additional OS-level configuration](https://docs.digitalocean.com/products/networking/ipv6/how-to/enable/#on-existing-droplets) is required. | <nobr>`droplet:update`</nobr> | | <nobr>`snapshot`</nobr> | Takes a snapshot of a Droplet. | <nobr>`droplet:update`</nobr><br><nobr>`image:create`</nobr> |
认证
需要 Connected AccountScopes
droplet:updateTags
Acting on Tagged DropletsDIGITALOCEAN_DROPLET_ACTIONS_POST_BY_TAGSome actions can be performed in bulk on tagged Droplets. The actions can be initiated by sending a POST to `/v2/droplets/actions?tag_name=$TAG_NAME` with the action arguments. Only a sub-set of action types are supported: - `power_cycle` - `power_on` - `power_off` - `shutdown` - `enable_ipv6` - `enable_backups` - `disable_backups` - `snapshot` (also requires `image:create` permission)需要连接1 scope
Some actions can be performed in bulk on tagged Droplets. The actions can be initiated by sending a POST to `/v2/droplets/actions?tag_name=$TAG_NAME` with the action arguments. Only a sub-set of action types are supported: - `power_cycle` - `power_on` - `power_off` - `shutdown` - `enable_ipv6` - `enable_backups` - `disable_backups` - `snapshot` (also requires `image:create` permission)
认证
需要 Connected AccountScopes
droplet:updateTags
Create a New DropletDIGITALOCEAN_DROPLETS_CREATETo create a new Droplet, send a POST request to `/v2/droplets` setting the required attributes. A Droplet will be created using the provided information. The response body will contain a JSON object with a key called `droplet`. The value will be an object containing the standard attributes for your new Droplet. The response code, 202 Accepted, does not indicate the success or failure of the operation, just that the request has been accepted for processing. The `actions` returned as part of the response's `links` object can be used to check the status of the Droplet create event. ### Create Multiple Droplets Creating multiple Droplets is very similar to creating a single Droplet. Instead of sending `name` as a string, send `names` as an array of strings. A Droplet will be created for each name you send using the associated information. Up to ten Droplets may be created this way at a time. Rather than returning a single Droplet, the response body will contain a JSON array with a key called `droplets`. This will be set to an array of JSON objects, each of which will contain the standard Droplet attributes. The response code, 202 Accepted, does not indicate the success or failure of any operation, just that the request has been accepted for processing. The array of `actions` returned as part of the response's `links` object can be used to check the status of each individual Droplet create event.需要连接1 scope
To create a new Droplet, send a POST request to `/v2/droplets` setting the required attributes. A Droplet will be created using the provided information. The response body will contain a JSON object with a key called `droplet`. The value will be an object containing the standard attributes for your new Droplet. The response code, 202 Accepted, does not indicate the success or failure of the operation, just that the request has been accepted for processing. The `actions` returned as part of the response's `links` object can be used to check the status of the Droplet create event. ### Create Multiple Droplets Creating multiple Droplets is very similar to creating a single Droplet. Instead of sending `name` as a string, send `names` as an array of strings. A Droplet will be created for each name you send using the associated information. Up to ten Droplets may be created this way at a time. Rather than returning a single Droplet, the response body will contain a JSON array with a key called `droplets`. This will be set to an array of JSON objects, each of which will contain the standard Droplet attributes. The response code, 202 Accepted, does not indicate the success or failure of any operation, just that the request has been accepted for processing. The array of `actions` returned as part of the response's `links` object can be used to check the status of each individual Droplet create event.
认证
需要 Connected AccountScopes
droplet:createTags
Delete an Existing DropletDIGITALOCEAN_DROPLETS_DESTROYTo delete a Droplet, send a DELETE request to `/v2/droplets/$DROPLET_ID`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.需要连接1 scope
To delete a Droplet, send a DELETE request to `/v2/droplets/$DROPLET_ID`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.
认证
需要 Connected AccountScopes
droplet:deleteTags
Deleting Droplets by TagDIGITALOCEAN_DROPLETS_DESTROY_BY_TAGTo delete **all** Droplets assigned to a specific tag, include the `tag_name` query parameter set to the name of the tag in your DELETE request. For example, `/v2/droplets?tag_name=$TAG_NAME`. This endpoint requires `tag:read` scope. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.需要连接1 scope
To delete **all** Droplets assigned to a specific tag, include the `tag_name` query parameter set to the name of the tag in your DELETE request. For example, `/v2/droplets?tag_name=$TAG_NAME`. This endpoint requires `tag:read` scope. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.
认证
需要 Connected AccountScopes
droplet:deleteTags
Retry a Droplet Destroy with Associated Resources RequestDIGITALOCEAN_DROPLETS_DESTROY_RETRY_WITH_ASSOCIATED_RESOURCESIf the status of a request to destroy a Droplet with its associated resources reported any errors, it can be retried by sending a POST request to the `/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/retry` endpoint. Only one destroy can be active at a time per Droplet. If a retry is issued while another destroy is in progress for the Droplet a 409 status code will be returned. A successful response will include a 202 response code and no content.需要连接5 scopes
If the status of a request to destroy a Droplet with its associated resources reported any errors, it can be retried by sending a POST request to the `/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/retry` endpoint. Only one destroy can be active at a time per Droplet. If a retry is issued while another destroy is in progress for the Droplet a 409 status code will be returned. A successful response will include a 202 response code and no content.
认证
需要 Connected AccountScopes
droplet:deleteblock_storage:deleteblock_storage_snapshot:deleteimage:deletereserved_ip:deleteTags
Destroy a Droplet and All of its Associated Resources (Dangerous)DIGITALOCEAN_DROPLETS_DESTROY_WITH_ASSOCIATED_RESOURCES_DANGEROUSTo destroy a Droplet along with all of its associated resources, send a DELETE request to the `/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/dangerous` endpoint. The headers of this request must include an `X-Dangerous` key set to `true`. To preview which resources will be destroyed, first query the Droplet's associated resources. This operation _can not_ be reverse and should be used with caution. A successful response will include a 202 response code and no content. Use the status endpoint to check on the success or failure of the destruction of the individual resources.需要连接5 scopes
To destroy a Droplet along with all of its associated resources, send a DELETE request to the `/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/dangerous` endpoint. The headers of this request must include an `X-Dangerous` key set to `true`. To preview which resources will be destroyed, first query the Droplet's associated resources. This operation _can not_ be reverse and should be used with caution. A successful response will include a 202 response code and no content. Use the status endpoint to check on the success or failure of the destruction of the individual resources.
认证
需要 Connected AccountScopes
droplet:deleteblock_storage:deleteblock_storage_snapshot:deleteimage:deletereserved_ip:deleteTags
Selectively Destroy a Droplet and its Associated ResourcesDIGITALOCEAN_DROPLETS_DESTROY_WITH_ASSOCIATED_RESOURCES_SELECTIVETo destroy a Droplet along with a sub-set of its associated resources, send a DELETE request to the `/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/selective` endpoint. The JSON body of the request should include `reserved_ips`, `snapshots`, `volumes`, or `volume_snapshots` keys each set to an array of IDs for the associated resources to be destroyed. The IDs can be found by querying the Droplet's associated resources. Any associated resource not included in the request will remain and continue to accrue changes on your account. A successful response will include a 202 response code and no content. Use the status endpoint to check on the success or failure of the destruction of the individual resources.需要连接5 scopes
To destroy a Droplet along with a sub-set of its associated resources, send a DELETE request to the `/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/selective` endpoint. The JSON body of the request should include `reserved_ips`, `snapshots`, `volumes`, or `volume_snapshots` keys each set to an array of IDs for the associated resources to be destroyed. The IDs can be found by querying the Droplet's associated resources. Any associated resource not included in the request will remain and continue to accrue changes on your account. A successful response will include a 202 response code and no content. Use the status endpoint to check on the success or failure of the destruction of the individual resources.
认证
需要 Connected AccountScopes
droplet:deleteblock_storage:deleteblock_storage_snapshot:deleteimage:deletereserved_ip:deleteTags
Retrieve an Existing DropletDIGITALOCEAN_DROPLETS_GETTo show information about an individual Droplet, send a GET request to `/v2/droplets/$DROPLET_ID`.需要连接1 scope
To show information about an individual Droplet, send a GET request to `/v2/droplets/$DROPLET_ID`.
认证
需要 Connected AccountScopes
droplet:readTags
Retrieve the Backup Policy for an Existing DropletDIGITALOCEAN_DROPLETS_GET_BACKUP_POLICYTo show information about an individual Droplet's backup policy, send a GET request to `/v2/droplets/$DROPLET_ID/backups/policy`.需要连接1 scope
To show information about an individual Droplet's backup policy, send a GET request to `/v2/droplets/$DROPLET_ID/backups/policy`.
认证
需要 Connected AccountScopes
droplet:readTags
Check Status of a Droplet Destroy with Associated Resources RequestDIGITALOCEAN_DROPLETS_GET_DESTROY_ASSOCIATED_RESOURCES_STATUSTo check on the status of a request to destroy a Droplet with its associated resources, send a GET request to the `/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/status` endpoint.需要连接1 scope
To check on the status of a request to destroy a Droplet with its associated resources, send a GET request to the `/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/status` endpoint.
认证
需要 Connected AccountScopes
droplet:deleteTags
List All DropletsDIGITALOCEAN_DROPLETS_LISTTo list all Droplets in your account, send a GET request to `/v2/droplets`. The response body will be a JSON object with a key of `droplets`. This will be set to an array containing objects each representing a Droplet. These will contain the standard Droplet attributes. ### Filtering Results by Tag It's possible to request filtered results by including certain query parameters. To only list Droplets assigned to a specific tag, include the `tag_name` query parameter set to the name of the tag in your GET request. For example, `/v2/droplets?tag_name=$TAG_NAME`. ### GPU Droplets By default, only non-GPU Droplets are returned. To list only GPU Droplets, set the `type` query parameter to `gpus`. For example, `/v2/droplets?type=gpus`.需要连接1 scope
To list all Droplets in your account, send a GET request to `/v2/droplets`. The response body will be a JSON object with a key of `droplets`. This will be set to an array containing objects each representing a Droplet. These will contain the standard Droplet attributes. ### Filtering Results by Tag It's possible to request filtered results by including certain query parameters. To only list Droplets assigned to a specific tag, include the `tag_name` query parameter set to the name of the tag in your GET request. For example, `/v2/droplets?tag_name=$TAG_NAME`. ### GPU Droplets By default, only non-GPU Droplets are returned. To list only GPU Droplets, set the `type` query parameter to `gpus`. For example, `/v2/droplets?type=gpus`.
认证
需要 Connected AccountScopes
droplet:readTags
List Associated Resources for a DropletDIGITALOCEAN_DROPLETS_LIST_ASSOCIATED_RESOURCESTo list the associated billable resources that can be destroyed along with a Droplet, send a GET request to the `/v2/droplets/$DROPLET_ID/destroy_with_associated_resources` endpoint. This endpoint will only return resources that you are authorized to see. For example, to see associated Reserved IPs, include the `reserved_ip:read` scope. The response will be a JSON object containing `snapshots`, `volumes`, and `volume_snapshots` keys. Each will be set to an array of objects containing information about the associated resources.需要连接1 scope
To list the associated billable resources that can be destroyed along with a Droplet, send a GET request to the `/v2/droplets/$DROPLET_ID/destroy_with_associated_resources` endpoint. This endpoint will only return resources that you are authorized to see. For example, to see associated Reserved IPs, include the `reserved_ip:read` scope. The response will be a JSON object containing `snapshots`, `volumes`, and `volume_snapshots` keys. Each will be set to an array of objects containing information about the associated resources.
认证
需要 Connected AccountScopes
droplet:readTags
List Backup Policies for All Existing DropletsDIGITALOCEAN_DROPLETS_LIST_BACKUP_POLICIESTo list information about the backup policies for all Droplets in the account, send a GET request to `/v2/droplets/backups/policies`.需要连接1 scope
To list information about the backup policies for all Droplets in the account, send a GET request to `/v2/droplets/backups/policies`.
认证
需要 Connected AccountScopes
droplet:readTags
List Backups for a DropletDIGITALOCEAN_DROPLETS_LIST_BACKUPSTo retrieve any backups associated with a Droplet, send a GET request to `/v2/droplets/$DROPLET_ID/backups`. You will get back a JSON object that has a `backups` key. This will be set to an array of backup objects, each of which contain the standard Droplet backup attributes.需要连接1 scope
To retrieve any backups associated with a Droplet, send a GET request to `/v2/droplets/$DROPLET_ID/backups`. You will get back a JSON object that has a `backups` key. This will be set to an array of backup objects, each of which contain the standard Droplet backup attributes.
认证
需要 Connected AccountScopes
droplet:readTags
List all Firewalls Applied to a DropletDIGITALOCEAN_DROPLETS_LIST_FIREWALLSTo retrieve a list of all firewalls available to a Droplet, send a GET request to `/v2/droplets/$DROPLET_ID/firewalls` The response will be a JSON object that has a key called `firewalls`. This will be set to an array of `firewall` objects, each of which contain the standard `firewall` attributes.需要连接1 scope
To retrieve a list of all firewalls available to a Droplet, send a GET request to `/v2/droplets/$DROPLET_ID/firewalls` The response will be a JSON object that has a key called `firewalls`. This will be set to an array of `firewall` objects, each of which contain the standard `firewall` attributes.
认证
需要 Connected AccountScopes
firewall:readTags
List All Available Kernels for a DropletDIGITALOCEAN_DROPLETS_LIST_KERNELSTo retrieve a list of all kernels available to a Droplet, send a GET request to `/v2/droplets/$DROPLET_ID/kernels` The response will be a JSON object that has a key called `kernels`. This will be set to an array of `kernel` objects, each of which contain the standard `kernel` attributes.需要连接1 scope
To retrieve a list of all kernels available to a Droplet, send a GET request to `/v2/droplets/$DROPLET_ID/kernels` The response will be a JSON object that has a key called `kernels`. This will be set to an array of `kernel` objects, each of which contain the standard `kernel` attributes.
认证
需要 Connected AccountScopes
droplet:readTags
List Neighbors for a DropletDIGITALOCEAN_DROPLETS_LIST_NEIGHBORSTo retrieve a list of any "neighbors" (i.e. Droplets that are co-located on the same physical hardware) for a specific Droplet, send a GET request to `/v2/droplets/$DROPLET_ID/neighbors`. The results will be returned as a JSON object with a key of `droplets`. This will be set to an array containing objects representing any other Droplets that share the same physical hardware. An empty array indicates that the Droplet is not co-located any other Droplets associated with your account.需要连接1 scope
To retrieve a list of any "neighbors" (i.e. Droplets that are co-located on the same physical hardware) for a specific Droplet, send a GET request to `/v2/droplets/$DROPLET_ID/neighbors`. The results will be returned as a JSON object with a key of `droplets`. This will be set to an array containing objects representing any other Droplets that share the same physical hardware. An empty array indicates that the Droplet is not co-located any other Droplets associated with your account.
认证
需要 Connected AccountScopes
droplet:readTags
List All Droplet NeighborsDIGITALOCEAN_DROPLETS_LIST_NEIGHBORS_IDSTo retrieve a list of all Droplets that are co-located on the same physical hardware, send a GET request to `/v2/reports/droplet_neighbors_ids`. The results will be returned as a JSON object with a key of `neighbor_ids`. This will be set to an array of arrays. Each array will contain a set of Droplet IDs for Droplets that share a physical server. An empty array indicates that all Droplets associated with your account are located on separate physical hardware.需要连接1 scope
To retrieve a list of all Droplets that are co-located on the same physical hardware, send a GET request to `/v2/reports/droplet_neighbors_ids`. The results will be returned as a JSON object with a key of `neighbor_ids`. This will be set to an array of arrays. Each array will contain a set of Droplet IDs for Droplets that share a physical server. An empty array indicates that all Droplets associated with your account are located on separate physical hardware.
认证
需要 Connected AccountScopes
droplet:readTags
List Snapshots for a DropletDIGITALOCEAN_DROPLETS_LIST_SNAPSHOTSTo retrieve the snapshots that have been created from a Droplet, send a GET request to `/v2/droplets/$DROPLET_ID/snapshots`. You will get back a JSON object that has a `snapshots` key. This will be set to an array of snapshot objects, each of which contain the standard Droplet snapshot attributes.需要连接1 scope
To retrieve the snapshots that have been created from a Droplet, send a GET request to `/v2/droplets/$DROPLET_ID/snapshots`. You will get back a JSON object that has a `snapshots` key. This will be set to an array of snapshot objects, each of which contain the standard Droplet snapshot attributes.
认证
需要 Connected AccountScopes
droplet:readTags
List Supported Droplet Backup PoliciesDIGITALOCEAN_DROPLETS_LIST_SUPPORTED_BACKUP_POLICIESTo retrieve a list of all supported Droplet backup policies, send a GET request to `/v2/droplets/backups/supported_policies`.需要连接1 scope
To retrieve a list of all supported Droplet backup policies, send a GET request to `/v2/droplets/backups/supported_policies`.
认证
需要 Connected AccountScopes
droplet:readTags
Add Rules to a FirewallDIGITALOCEAN_FIREWALLS_ADD_RULESTo add additional access rules to a firewall, send a POST request to `/v2/firewalls/$FIREWALL_ID/rules`. The body of the request may include an inbound_rules and/or outbound_rules attribute containing an array of rules to be added. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.需要连接1 scope
To add additional access rules to a firewall, send a POST request to `/v2/firewalls/$FIREWALL_ID/rules`. The body of the request may include an inbound_rules and/or outbound_rules attribute containing an array of rules to be added. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
认证
需要 Connected AccountScopes
firewall:updateTags
Add Tags to a FirewallDIGITALOCEAN_FIREWALLS_ADD_TAGSTo assign a tag representing a group of Droplets to a firewall, send a POST request to `/v2/firewalls/$FIREWALL_ID/tags`. In the body of the request, there should be a `tags` attribute containing a list of tag names. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.需要连接1 scope
To assign a tag representing a group of Droplets to a firewall, send a POST request to `/v2/firewalls/$FIREWALL_ID/tags`. In the body of the request, there should be a `tags` attribute containing a list of tag names. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
认证
需要 Connected AccountScopes
firewall:updateTags
Add Droplets to a FirewallDIGITALOCEAN_FIREWALLS_ASSIGN_DROPLETSTo assign a Droplet to a firewall, send a POST request to `/v2/firewalls/$FIREWALL_ID/droplets`. In the body of the request, there should be a `droplet_ids` attribute containing a list of Droplet IDs. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.需要连接1 scope
To assign a Droplet to a firewall, send a POST request to `/v2/firewalls/$FIREWALL_ID/droplets`. In the body of the request, there should be a `droplet_ids` attribute containing a list of Droplet IDs. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
认证
需要 Connected AccountScopes
firewall:updateTags
Create a New FirewallDIGITALOCEAN_FIREWALLS_CREATETo create a new firewall, send a POST request to `/v2/firewalls`. The request must contain at least one inbound or outbound access rule.需要连接1 scope
To create a new firewall, send a POST request to `/v2/firewalls`. The request must contain at least one inbound or outbound access rule.
认证
需要 Connected AccountScopes
firewall:createTags
Delete a FirewallDIGITALOCEAN_FIREWALLS_DELETETo delete a firewall send a DELETE request to `/v2/firewalls/$FIREWALL_ID`. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.需要连接1 scope
To delete a firewall send a DELETE request to `/v2/firewalls/$FIREWALL_ID`. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
认证
需要 Connected AccountScopes
firewall:deleteTags
Remove Droplets from a FirewallDIGITALOCEAN_FIREWALLS_DELETE_DROPLETSTo remove a Droplet from a firewall, send a DELETE request to `/v2/firewalls/$FIREWALL_ID/droplets`. In the body of the request, there should be a `droplet_ids` attribute containing a list of Droplet IDs. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.需要连接1 scope
To remove a Droplet from a firewall, send a DELETE request to `/v2/firewalls/$FIREWALL_ID/droplets`. In the body of the request, there should be a `droplet_ids` attribute containing a list of Droplet IDs. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
认证
需要 Connected AccountScopes
firewall:updateTags
Remove Rules from a FirewallDIGITALOCEAN_FIREWALLS_DELETE_RULESTo remove access rules from a firewall, send a DELETE request to `/v2/firewalls/$FIREWALL_ID/rules`. The body of the request may include an `inbound_rules` and/or `outbound_rules` attribute containing an array of rules to be removed. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.需要连接1 scope
To remove access rules from a firewall, send a DELETE request to `/v2/firewalls/$FIREWALL_ID/rules`. The body of the request may include an `inbound_rules` and/or `outbound_rules` attribute containing an array of rules to be removed. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
认证
需要 Connected AccountScopes
firewall:updateTags
Remove Tags from a FirewallDIGITALOCEAN_FIREWALLS_DELETE_TAGSTo remove a tag representing a group of Droplets from a firewall, send a DELETE request to `/v2/firewalls/$FIREWALL_ID/tags`. In the body of the request, there should be a `tags` attribute containing a list of tag names. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.需要连接1 scope
To remove a tag representing a group of Droplets from a firewall, send a DELETE request to `/v2/firewalls/$FIREWALL_ID/tags`. In the body of the request, there should be a `tags` attribute containing a list of tag names. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
认证
需要 Connected AccountScopes
firewall:updateTags
Retrieve an Existing FirewallDIGITALOCEAN_FIREWALLS_GETTo show information about an existing firewall, send a GET request to `/v2/firewalls/$FIREWALL_ID`.需要连接1 scope
To show information about an existing firewall, send a GET request to `/v2/firewalls/$FIREWALL_ID`.
认证
需要 Connected AccountScopes
firewall:readTags
List All FirewallsDIGITALOCEAN_FIREWALLS_LISTTo list all of the firewalls available on your account, send a GET request to `/v2/firewalls`.需要连接1 scope
To list all of the firewalls available on your account, send a GET request to `/v2/firewalls`.
认证
需要 Connected AccountScopes
firewall:readTags
Update a FirewallDIGITALOCEAN_FIREWALLS_UPDATETo update the configuration of an existing firewall, send a PUT request to `/v2/firewalls/$FIREWALL_ID`. The request should contain a full representation of the firewall including existing attributes. **Note that any attributes that are not provided will be reset to their default values.** <br><br>You must have read access (e.g. `droplet:read`) to all resources attached to the firewall to successfully update the firewall.需要连接1 scope
To update the configuration of an existing firewall, send a PUT request to `/v2/firewalls/$FIREWALL_ID`. The request should contain a full representation of the firewall including existing attributes. **Note that any attributes that are not provided will be reset to their default values.** <br><br>You must have read access (e.g. `droplet:read`) to all resources attached to the firewall to successfully update the firewall.
认证
需要 Connected AccountScopes
firewall:updateTags
Retrieve an Existing Floating IP ActionDIGITALOCEAN_FLOATING_IPS_ACTION_GETTo retrieve the status of a floating IP action, send a GET request to `/v2/floating_ips/$FLOATING_IP/actions/$ACTION_ID`.需要连接1 scope
To retrieve the status of a floating IP action, send a GET request to `/v2/floating_ips/$FLOATING_IP/actions/$ACTION_ID`.
认证
需要 Connected AccountScopes
reserved_ip:readTags
List All Actions for a Floating IPDIGITALOCEAN_FLOATING_IPS_ACTION_LISTTo retrieve all actions that have been executed on a floating IP, send a GET request to `/v2/floating_ips/$FLOATING_IP/actions`.需要连接1 scope
To retrieve all actions that have been executed on a floating IP, send a GET request to `/v2/floating_ips/$FLOATING_IP/actions`.
认证
需要 Connected AccountScopes
reserved_ip:readTags
Initiate a Floating IP ActionDIGITALOCEAN_FLOATING_IPS_ACTION_POSTTo initiate an action on a floating IP send a POST request to `/v2/floating_ips/$FLOATING_IP/actions`. In the JSON body to the request, set the `type` attribute to on of the supported action types: | Action | Details |------------|-------- | `assign` | Assigns a floating IP to a Droplet | `unassign` | Unassign a floating IP from a Droplet需要连接1 scope
To initiate an action on a floating IP send a POST request to `/v2/floating_ips/$FLOATING_IP/actions`. In the JSON body to the request, set the `type` attribute to on of the supported action types: | Action | Details |------------|-------- | `assign` | Assigns a floating IP to a Droplet | `unassign` | Unassign a floating IP from a Droplet
认证
需要 Connected AccountScopes
reserved_ip:updateTags
Create a New Floating IPDIGITALOCEAN_FLOATING_IPS_CREATEOn creation, a floating IP must be either assigned to a Droplet or reserved to a region. * To create a new floating IP assigned to a Droplet, send a POST request to `/v2/floating_ips` with the `droplet_id` attribute. * To create a new floating IP reserved to a region, send a POST request to `/v2/floating_ips` with the `region` attribute.需要连接1 scope
On creation, a floating IP must be either assigned to a Droplet or reserved to a region. * To create a new floating IP assigned to a Droplet, send a POST request to `/v2/floating_ips` with the `droplet_id` attribute. * To create a new floating IP reserved to a region, send a POST request to `/v2/floating_ips` with the `region` attribute.
认证
需要 Connected AccountScopes
reserved_ip:createTags
Delete a Floating IPDIGITALOCEAN_FLOATING_IPS_DELETETo delete a floating IP and remove it from your account, send a DELETE request to `/v2/floating_ips/$FLOATING_IP_ADDR`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.需要连接1 scope
To delete a floating IP and remove it from your account, send a DELETE request to `/v2/floating_ips/$FLOATING_IP_ADDR`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.
认证
需要 Connected AccountScopes
reserved_ip:deleteTags
Retrieve an Existing Floating IPDIGITALOCEAN_FLOATING_IPS_GETTo show information about a floating IP, send a GET request to `/v2/floating_ips/$FLOATING_IP_ADDR`.需要连接1 scope
To show information about a floating IP, send a GET request to `/v2/floating_ips/$FLOATING_IP_ADDR`.
认证
需要 Connected AccountScopes
reserved_ip:readTags
List All Floating IPsDIGITALOCEAN_FLOATING_IPS_LISTTo list all of the floating IPs available on your account, send a GET request to `/v2/floating_ips`.需要连接1 scope
To list all of the floating IPs available on your account, send a GET request to `/v2/floating_ips`.
认证
需要 Connected AccountScopes
reserved_ip:readTags
Create a Namespace Access KeyDIGITALOCEAN_FUNCTIONS_ACCESS_KEY_CREATECreates a new access key for a serverless functions namespace. The access key can be used to authenticate requests to the namespace's functions. The secret key is only returned once upon creation. To create an access key, send a POST request to `/v2/functions/namespaces/{namespace_id}/keys`.需要连接1 scope
Creates a new access key for a serverless functions namespace. The access key can be used to authenticate requests to the namespace's functions. The secret key is only returned once upon creation. To create an access key, send a POST request to `/v2/functions/namespaces/{namespace_id}/keys`.
认证
需要 Connected AccountScopes
function:adminTags
Delete a Namespace Access KeyDIGITALOCEAN_FUNCTIONS_ACCESS_KEY_DELETEDeletes an access key for a serverless functions namespace. To delete an access key, send a DELETE request to `/v2/functions/namespaces/{namespace_id}/keys/{key_id}`.需要连接1 scope
Deletes an access key for a serverless functions namespace. To delete an access key, send a DELETE request to `/v2/functions/namespaces/{namespace_id}/keys/{key_id}`.
认证
需要 Connected AccountScopes
function:adminTags
List Namespace Access KeysDIGITALOCEAN_FUNCTIONS_ACCESS_KEY_LISTLists all access keys for a serverless functions namespace. To list access keys, send a GET request to `/v2/functions/namespaces/{namespace_id}/keys`.需要连接1 scope
Lists all access keys for a serverless functions namespace. To list access keys, send a GET request to `/v2/functions/namespaces/{namespace_id}/keys`.
认证
需要 Connected AccountScopes
function:adminTags
Update a Namespace Access KeyDIGITALOCEAN_FUNCTIONS_ACCESS_KEY_UPDATEUpdates the name of an access key for a serverless functions namespace. To update an access key, send a PUT request to `/v2/functions/namespaces/{namespace_id}/keys/{key_id}`.需要连接1 scope
Updates the name of an access key for a serverless functions namespace. To update an access key, send a PUT request to `/v2/functions/namespaces/{namespace_id}/keys/{key_id}`.
认证
需要 Connected AccountScopes
function:adminTags
Create NamespaceDIGITALOCEAN_FUNCTIONS_CREATE_NAMESPACECreates a new serverless functions namespace in the desired region and associates it with the provided label. A namespace is a collection of functions and their associated packages, triggers, and project specifications. To create a namespace, send a POST request to `/v2/functions/namespaces` with the `region` and `label` properties.需要连接2 scopes
Creates a new serverless functions namespace in the desired region and associates it with the provided label. A namespace is a collection of functions and their associated packages, triggers, and project specifications. To create a namespace, send a POST request to `/v2/functions/namespaces` with the `region` and `label` properties.
认证
需要 Connected AccountScopes
function:createfunction:adminTags
Create TriggerDIGITALOCEAN_FUNCTIONS_CREATE_TRIGGERCreates a new trigger for a given function in a namespace. To create a trigger, send a POST request to `/v2/functions/namespaces/$NAMESPACE_ID/triggers` with the `name`, `function`, `type`, `is_enabled` and `scheduled_details` properties.需要连接2 scopes
Creates a new trigger for a given function in a namespace. To create a trigger, send a POST request to `/v2/functions/namespaces/$NAMESPACE_ID/triggers` with the `name`, `function`, `type`, `is_enabled` and `scheduled_details` properties.
认证
需要 Connected AccountScopes
function:createfunction:adminTags
Delete NamespaceDIGITALOCEAN_FUNCTIONS_DELETE_NAMESPACEDeletes the given namespace. When a namespace is deleted all assets, in the namespace are deleted, this includes packages, functions and triggers. Deleting a namespace is a destructive operation and assets in the namespace are not recoverable after deletion. Some metadata is retained, such as activations, or soft deleted for reporting purposes. To delete namespace, send a DELETE request to `/v2/functions/namespaces/$NAMESPACE_ID`. A successful deletion returns a 204 response.需要连接2 scopes
Deletes the given namespace. When a namespace is deleted all assets, in the namespace are deleted, this includes packages, functions and triggers. Deleting a namespace is a destructive operation and assets in the namespace are not recoverable after deletion. Some metadata is retained, such as activations, or soft deleted for reporting purposes. To delete namespace, send a DELETE request to `/v2/functions/namespaces/$NAMESPACE_ID`. A successful deletion returns a 204 response.
认证
需要 Connected AccountScopes
function:deletefunction:adminTags
Delete TriggerDIGITALOCEAN_FUNCTIONS_DELETE_TRIGGERDeletes the given trigger. To delete trigger, send a DELETE request to `/v2/functions/namespaces/$NAMESPACE_ID/triggers/$TRIGGER_NAME`. A successful deletion returns a 204 response.需要连接2 scopes
Deletes the given trigger. To delete trigger, send a DELETE request to `/v2/functions/namespaces/$NAMESPACE_ID/triggers/$TRIGGER_NAME`. A successful deletion returns a 204 response.
认证
需要 Connected AccountScopes
function:deletefunction:adminTags
Get NamespaceDIGITALOCEAN_FUNCTIONS_GET_NAMESPACEGets the namespace details for the given namespace UUID. To get namespace details, send a GET request to `/v2/functions/namespaces/$NAMESPACE_ID` with no parameters.需要连接1 scope
Gets the namespace details for the given namespace UUID. To get namespace details, send a GET request to `/v2/functions/namespaces/$NAMESPACE_ID` with no parameters.
认证
需要 Connected AccountScopes
function:adminTags
Get TriggerDIGITALOCEAN_FUNCTIONS_GET_TRIGGERGets the trigger details. To get the trigger details, send a GET request to `/v2/functions/namespaces/$NAMESPACE_ID/triggers/$TRIGGER_NAME`.需要连接2 scopes
Gets the trigger details. To get the trigger details, send a GET request to `/v2/functions/namespaces/$NAMESPACE_ID/triggers/$TRIGGER_NAME`.
认证
需要 Connected AccountScopes
function:readfunction:adminTags
List NamespacesDIGITALOCEAN_FUNCTIONS_LIST_NAMESPACESReturns a list of namespaces associated with the current user. To get all namespaces, send a GET request to `/v2/functions/namespaces`.需要连接2 scopes
Returns a list of namespaces associated with the current user. To get all namespaces, send a GET request to `/v2/functions/namespaces`.
认证
需要 Connected AccountScopes
function:readfunction:adminTags
List TriggersDIGITALOCEAN_FUNCTIONS_LIST_TRIGGERSReturns 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`.需要连接2 scopes
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`.
认证
需要 Connected AccountScopes
function:readfunction:adminTags
Update TriggerDIGITALOCEAN_FUNCTIONS_UPDATE_TRIGGERUpdates the details of the given trigger. To update a trigger, send a PUT request to `/v2/functions/namespaces/$NAMESPACE_ID/triggers/$TRIGGER_NAME` with new values for the `is_enabled ` or `scheduled_details` properties.需要连接2 scopes
Updates the details of the given trigger. To update a trigger, send a PUT request to `/v2/functions/namespaces/$NAMESPACE_ID/triggers/$TRIGGER_NAME` with new values for the `is_enabled ` or `scheduled_details` properties.
认证
需要 Connected AccountScopes
function:updatefunction:adminTags
Add Agent Route to an AgentDIGITALOCEAN_GENAI_ATTACH_AGENTTo add an agent route to an agent, send a POST request to `/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}`.需要连接1 scope
To add an agent route to an agent, send a POST request to `/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}`.
认证
需要 Connected AccountScopes
genai:createTags
Add Function Route to an AgentDIGITALOCEAN_GENAI_ATTACH_AGENT_FUNCTIONTo create a function route for an agent, send a POST request to `/v2/gen-ai/agents/{agent_uuid}/functions`.需要连接1 scope
To create a function route for an agent, send a POST request to `/v2/gen-ai/agents/{agent_uuid}/functions`.
认证
需要 Connected AccountScopes
genai:createTags
Attach Guardrails to an AgentDIGITALOCEAN_GENAI_ATTACH_AGENT_GUARDRAILSTo attach guardrails to an agent, send a POST request to `/v2/gen-ai/agents/{agent_uuid}/guardrails`.需要连接1 scope
To attach guardrails to an agent, send a POST request to `/v2/gen-ai/agents/{agent_uuid}/guardrails`.
认证
需要 Connected AccountScopes
genai:createTags
Attach Knowledge Base to an AgentDIGITALOCEAN_GENAI_ATTACH_KNOWLEDGE_BASETo attach a knowledge base to an agent, send a POST request to `/v2/gen-ai/agents/{agent_uuid}/knowledge_bases/{knowledge_base_uuid}`需要连接1 scope
To attach a knowledge base to an agent, send a POST request to `/v2/gen-ai/agents/{agent_uuid}/knowledge_bases/{knowledge_base_uuid}`
认证
需要 Connected AccountScopes
genai:createTags
Attach Knowledge Bases to an AgentDIGITALOCEAN_GENAI_ATTACH_KNOWLEDGE_BASESTo attach knowledge bases to an agent, send a POST request to `/v2/gen-ai/agents/{agent_uuid}/knowledge_bases`需要连接1 scope
To attach knowledge bases to an agent, send a POST request to `/v2/gen-ai/agents/{agent_uuid}/knowledge_bases`
认证
需要 Connected AccountScopes
genai:createTags
Cancel Indexing Job for a Knowledge BaseDIGITALOCEAN_GENAI_CANCEL_INDEXING_JOBTo cancel an indexing job for a knowledge base, send a PUT request to `/v2/gen-ai/indexing_jobs/{uuid}/cancel`.需要连接1 scope
To cancel an indexing job for a knowledge base, send a PUT request to `/v2/gen-ai/indexing_jobs/{uuid}/cancel`.
认证
需要 Connected AccountScopes
genai:updateTags
Cancel Model Evaluation RunDIGITALOCEAN_GENAI_CANCEL_MODEL_EVALUATION_RUNTo cancel an in-progress model evaluation run, send a PUT request to `/v2/gen-ai/model_evaluation_runs/{eval_run_uuid}/cancel`.需要连接1 scope
To cancel an in-progress model evaluation run, send a PUT request to `/v2/gen-ai/model_evaluation_runs/{eval_run_uuid}/cancel`.
认证
需要 Connected AccountScopes
genai:updateTags
Create an AgentDIGITALOCEAN_GENAI_CREATE_AGENTTo create a new agent, send a POST request to `/v2/gen-ai/agents`. The response body contains a JSON object with the newly created agent object.需要连接1 scope
To create a new agent, send a POST request to `/v2/gen-ai/agents`. The response body contains a JSON object with the newly created agent object.
认证
需要 Connected AccountScopes
genai:createTags
Create an Agent API KeyDIGITALOCEAN_GENAI_CREATE_AGENT_API_KEYTo create an agent API key, send a POST request to `/v2/gen-ai/agents/{agent_uuid}/api_keys`.需要连接1 scope
To create an agent API key, send a POST request to `/v2/gen-ai/agents/{agent_uuid}/api_keys`.
认证
需要 Connected AccountScopes
genai:createTags
Create Anthropic API KeyDIGITALOCEAN_GENAI_CREATE_ANTHROPIC_API_KEYTo create an Anthropic API key, send a POST request to `/v2/gen-ai/anthropic/keys`.需要连接1 scope
To create an Anthropic API key, send a POST request to `/v2/gen-ai/anthropic/keys`.
认证
需要 Connected AccountScopes
genai:createTags
Create Custom Evaluation MetricDIGITALOCEAN_GENAI_CREATE_CUSTOM_EVALUATION_METRICTo create a custom LLM-as-judge metric for model evaluation, send a POST request to `/v2/gen-ai/custom_evaluation_metrics`.需要连接1 scope
To create a custom LLM-as-judge metric for model evaluation, send a POST request to `/v2/gen-ai/custom_evaluation_metrics`.
认证
需要 Connected AccountScopes
genai:createTags
Create Presigned URLs for Data Source File UploadDIGITALOCEAN_GENAI_CREATE_DATA_SOURCE_FILE_UPLOAD_PRESIGNED_URLSTo create presigned URLs for knowledge base data source file upload, send a POST request to `/v2/gen-ai/knowledge_bases/data_sources/file_upload_presigned_urls`.需要连接1 scope
To create presigned URLs for knowledge base data source file upload, send a POST request to `/v2/gen-ai/knowledge_bases/data_sources/file_upload_presigned_urls`.
认证
需要 Connected AccountScopes
genai:createTags
Create Evaluation DatasetDIGITALOCEAN_GENAI_CREATE_EVALUATION_DATASETTo create an evaluation dataset, send a POST request to `/v2/gen-ai/evaluation_datasets`.需要连接1 scope
To create an evaluation dataset, send a POST request to `/v2/gen-ai/evaluation_datasets`.
认证
需要 Connected AccountScopes
genai:createTags
Create Presigned URLs for Evaluation Dataset File UploadDIGITALOCEAN_GENAI_CREATE_EVALUATION_DATASET_FILE_UPLOAD_PRESIGNED_URLSTo create presigned URLs for evaluation dataset file upload, send a POST request to `/v2/gen-ai/evaluation_datasets/file_upload_presigned_urls`.需要连接1 scope
To create presigned URLs for evaluation dataset file upload, send a POST request to `/v2/gen-ai/evaluation_datasets/file_upload_presigned_urls`.
认证
需要 Connected AccountScopes
genai:createTags
Create Evaluation Test Case.DIGITALOCEAN_GENAI_CREATE_EVALUATION_TEST_CASETo create an evaluation test-case send a POST request to `/v2/gen-ai/evaluation_test_cases`.需要连接1 scope
To create an evaluation test-case send a POST request to `/v2/gen-ai/evaluation_test_cases`.
认证
需要 Connected AccountScopes
genai:createTags
Start Indexing Job for a Knowledge BaseDIGITALOCEAN_GENAI_CREATE_INDEXING_JOBTo start an indexing job for a knowledge base, send a POST request to `/v2/gen-ai/indexing_jobs`.需要连接1 scope
To start an indexing job for a knowledge base, send a POST request to `/v2/gen-ai/indexing_jobs`.
认证
需要 Connected AccountScopes
genai:createTags
Create a Knowledge BaseDIGITALOCEAN_GENAI_CREATE_KNOWLEDGE_BASETo create a knowledge base, send a POST request to `/v2/gen-ai/knowledge_bases`.需要连接1 scope
To create a knowledge base, send a POST request to `/v2/gen-ai/knowledge_bases`.
认证
需要 Connected AccountScopes
genai:createTags
Add Data Source to a Knowledge BaseDIGITALOCEAN_GENAI_CREATE_KNOWLEDGE_BASE_DATA_SOURCETo add a data source to a knowledge base, send a POST request to `/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources`.需要连接1 scope
To add a data source to a knowledge base, send a POST request to `/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources`.
认证
需要 Connected AccountScopes
genai:createTags
Create a Model API KeyDIGITALOCEAN_GENAI_CREATE_MODEL_API_KEY**Note: This endpoint is deprecated and has been retired. All requests return a `410 gone` response.** Creating model API keys through this endpoint is no longer supported. To create a model access key, visit the manage page in the control panel. Previously, you could create a model API key by sending a POST request to `/v2/gen-ai/models/api_keys`.需要连接1 scope
**Note: This endpoint is deprecated and has been retired. All requests return a `410 gone` response.** Creating model API keys through this endpoint is no longer supported. To create a model access key, visit the manage page in the control panel. Previously, you could create a model API key by sending a POST request to `/v2/gen-ai/models/api_keys`.
认证
需要 Connected AccountScopes
genai:createTags
Create Presigned URLs for Model Evaluation Dataset File UploadDIGITALOCEAN_GENAI_CREATE_MODEL_EVAL_DATASET_UPLOAD_PRESIGNED_URLSTo create presigned URLs for model evaluation dataset file upload, send a POST request to `/v2/genai/model_evaluation/datasets/file_upload_presigned_urls`.需要连接1 scope
To create presigned URLs for model evaluation dataset file upload, send a POST request to `/v2/genai/model_evaluation/datasets/file_upload_presigned_urls`.
认证
需要 Connected AccountScopes
genai:createTags
Create Model Evaluation RunDIGITALOCEAN_GENAI_CREATE_MODEL_EVALUATION_RUNTo create a model evaluation run, send a POST request to `/v2/genai/model_evaluation_runs`.需要连接1 scope
To create a model evaluation run, send a POST request to `/v2/genai/model_evaluation_runs`.
认证
需要 Connected AccountScopes
genai:createTags
Create a Model RouterDIGITALOCEAN_GENAI_CREATE_MODEL_ROUTERTo create a model router, send a POST request to `/v2/gen-ai/models/routers`.需要连接1 scope
To create a model router, send a POST request to `/v2/gen-ai/models/routers`.
认证
需要 Connected AccountScopes
genai:createTags
Get Oauth2 Dropbox TokensDIGITALOCEAN_GENAI_CREATE_OAUTH2_DROPBOX_TOKENSTo obtain the refresh token, needed for creation of data sources, send a GET request to `/v2/gen-ai/oauth2/dropbox/tokens`. Pass the code you obtrained from the oauth flow in the field 'code'需要连接1 scope
To obtain the refresh token, needed for creation of data sources, send a GET request to `/v2/gen-ai/oauth2/dropbox/tokens`. Pass the code you obtrained from the oauth flow in the field 'code'
认证
需要 Connected AccountScopes
genai:createTags
Create OpenAI API KeyDIGITALOCEAN_GENAI_CREATE_OPENAI_API_KEYTo create an OpenAI API key, send a POST request to `/v2/gen-ai/openai/keys`.需要连接1 scope
To create an OpenAI API key, send a POST request to `/v2/gen-ai/openai/keys`.
认证
需要 Connected AccountScopes
genai:createTags
Create scheduled indexing for knowledge baseDIGITALOCEAN_GENAI_CREATE_SCHEDULED_INDEXINGTo create scheduled indexing for a knowledge base, send a POST request to `/v2/gen-ai/scheduled-indexing`.需要连接1 scope
To create scheduled indexing for a knowledge base, send a POST request to `/v2/gen-ai/scheduled-indexing`.
认证
需要 Connected AccountScopes
genai:createTags
Create a WorkspaceDIGITALOCEAN_GENAI_CREATE_WORKSPACETo create a new workspace, send a POST request to `/v2/gen-ai/workspaces`. The response body contains a JSON object with the newly created workspace object.需要连接1 scope
To create a new workspace, send a POST request to `/v2/gen-ai/workspaces`. The response body contains a JSON object with the newly created workspace object.
认证
需要 Connected AccountScopes
genai:createTags
Delete an AgentDIGITALOCEAN_GENAI_DELETE_AGENTTo delete an agent, send a DELETE request to `/v2/gen-ai/agents/{uuid}`.需要连接1 scope
To delete an agent, send a DELETE request to `/v2/gen-ai/agents/{uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete API Key for an AgentDIGITALOCEAN_GENAI_DELETE_AGENT_API_KEYTo delete an API key for an agent, send a DELETE request to `/v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}`.需要连接1 scope
To delete an API key for an agent, send a DELETE request to `/v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete Anthropic API KeyDIGITALOCEAN_GENAI_DELETE_ANTHROPIC_API_KEYTo delete an Anthropic API key, send a DELETE request to `/v2/gen-ai/anthropic/keys/{api_key_uuid}`.需要连接1 scope
To delete an Anthropic API key, send a DELETE request to `/v2/gen-ai/anthropic/keys/{api_key_uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete Custom Evaluation MetricDIGITALOCEAN_GENAI_DELETE_CUSTOM_EVALUATION_METRICTo soft-delete a custom model evaluation metric, send a DELETE request to `/v2/gen-ai/custom_evaluation_metrics/{metric_uuid}`.需要连接1 scope
To soft-delete a custom model evaluation metric, send a DELETE request to `/v2/gen-ai/custom_evaluation_metrics/{metric_uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete Custom ModelDIGITALOCEAN_GENAI_DELETE_CUSTOM_MODELTo delete a custom model, send a DELETE request to `/v2/genai/custom_models/{uuid}`.需要连接1 scope
To delete a custom model, send a DELETE request to `/v2/genai/custom_models/{uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete Evaluation DatasetDIGITALOCEAN_GENAI_DELETE_EVALUATION_DATASETTo delete an evaluation dataset, send a DELETE request to `/v2/genai/evaluation_datasets/{dataset_uuid}`. This works for both model and agent evaluation datasets.需要连接1 scope
To delete an evaluation dataset, send a DELETE request to `/v2/genai/evaluation_datasets/{dataset_uuid}`. This works for both model and agent evaluation datasets.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete a Knowledge BaseDIGITALOCEAN_GENAI_DELETE_KNOWLEDGE_BASETo delete a knowledge base, send a DELETE request to `/v2/gen-ai/knowledge_bases/{uuid}`.需要连接1 scope
To delete a knowledge base, send a DELETE request to `/v2/gen-ai/knowledge_bases/{uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete a Data Source from a Knowledge BaseDIGITALOCEAN_GENAI_DELETE_KNOWLEDGE_BASE_DATA_SOURCETo delete a data source from a knowledge base, send a DELETE request to `/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources/{data_source_uuid}`.需要连接1 scope
To delete a data source from a knowledge base, send a DELETE request to `/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources/{data_source_uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete API Key for a ModelDIGITALOCEAN_GENAI_DELETE_MODEL_API_KEYTo delete an API key for a model, send a DELETE request to `/v2/gen-ai/models/api_keys/{api_key_uuid}`.需要连接1 scope
To delete an API key for a model, send a DELETE request to `/v2/gen-ai/models/api_keys/{api_key_uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete Model Evaluation PresetDIGITALOCEAN_GENAI_DELETE_MODEL_EVALUATION_PRESETTo delete a saved model evaluation preset, send a DELETE request to `/v2/gen-ai/model_evaluation_presets/{eval_preset_uuid}`.需要连接1 scope
To delete a saved model evaluation preset, send a DELETE request to `/v2/gen-ai/model_evaluation_presets/{eval_preset_uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete Model Evaluation RunDIGITALOCEAN_GENAI_DELETE_MODEL_EVALUATION_RUNTo delete a model evaluation run, send a DELETE request to `/v2/gen-ai/model_evaluation_runs/{eval_run_uuid}`. The run must be in a terminal status (`successful`, `partially_successful`, `failed`, or `cancelled`). For runs still in progress, either wait for the run to finish or cancel it, then retry the delete once the run reaches a terminal status.需要连接1 scope
To delete a model evaluation run, send a DELETE request to `/v2/gen-ai/model_evaluation_runs/{eval_run_uuid}`. The run must be in a terminal status (`successful`, `partially_successful`, `failed`, or `cancelled`). For runs still in progress, either wait for the run to finish or cancel it, then retry the delete once the run reaches a terminal status.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete a Model RouterDIGITALOCEAN_GENAI_DELETE_MODEL_ROUTERTo delete a model router, send a DELETE request to `/v2/gen-ai/models/routers/{uuid}`.需要连接1 scope
To delete a model router, send a DELETE request to `/v2/gen-ai/models/routers/{uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete OpenAI API KeyDIGITALOCEAN_GENAI_DELETE_OPENAI_API_KEYTo delete an OpenAI API key, send a DELETE request to `/v2/gen-ai/openai/keys/{api_key_uuid}`.需要连接1 scope
To delete an OpenAI API key, send a DELETE request to `/v2/gen-ai/openai/keys/{api_key_uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete Scheduled IndexingDIGITALOCEAN_GENAI_DELETE_SCHEDULED_INDEXINGDelete Scheduled Indexing for knowledge base, send a DELETE request to `/v2/gen-ai/scheduled-indexing/{uuid}`.需要连接1 scope
Delete Scheduled Indexing for knowledge base, send a DELETE request to `/v2/gen-ai/scheduled-indexing/{uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete a WorkspaceDIGITALOCEAN_GENAI_DELETE_WORKSPACETo delete a workspace, send a DELETE request to `/v2/gen-ai/workspace/{workspace_uuid}`.需要连接1 scope
To delete a workspace, send a DELETE request to `/v2/gen-ai/workspace/{workspace_uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete Agent Route for an AgentDIGITALOCEAN_GENAI_DETACH_AGENTTo delete an agent route from a parent agent, send a DELETE request to `/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}`.需要连接1 scope
To delete an agent route from a parent agent, send a DELETE request to `/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Delete Function Route for an AgentDIGITALOCEAN_GENAI_DETACH_AGENT_FUNCTIONTo delete a function route from an agent, send a DELETE request to `/v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}`.需要连接1 scope
To delete a function route from an agent, send a DELETE request to `/v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Detach a Guardrail from an AgentDIGITALOCEAN_GENAI_DETACH_AGENT_GUARDRAILTo detach a guardrail from an agent, send a DELETE request to `/v2/gen-ai/agents/{agent_uuid}/guardrails/{guardrail_uuid}`.需要连接1 scope
To detach a guardrail from an agent, send a DELETE request to `/v2/gen-ai/agents/{agent_uuid}/guardrails/{guardrail_uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Detach Knowledge Base from an AgentDIGITALOCEAN_GENAI_DETACH_KNOWLEDGE_BASETo detach a knowledge base from an agent, send a DELETE request to `/v2/gen-ai/agents/{agent_uuid}/knowledge_bases/{knowledge_base_uuid}`.需要连接1 scope
To detach a knowledge base from an agent, send a DELETE request to `/v2/gen-ai/agents/{agent_uuid}/knowledge_bases/{knowledge_base_uuid}`.
认证
需要 Connected AccountScopes
genai:deleteTags
Retrieve an Existing AgentDIGITALOCEAN_GENAI_GET_AGENTTo retrieve details of an agent, GET request to `/v2/gen-ai/agents/{uuid}`. The response body is a JSON object containing the agent.需要连接1 scope
To retrieve details of an agent, GET request to `/v2/gen-ai/agents/{uuid}`. The response body is a JSON object containing the agent.
认证
需要 Connected AccountScopes
genai:readTags
View Agent RoutesDIGITALOCEAN_GENAI_GET_AGENT_CHILDRENTo view agent routes for an agent, send a GET requtest to `/v2/gen-ai/agents/{uuid}/child_agents`.需要连接1 scope
To view agent routes for an agent, send a GET requtest to `/v2/gen-ai/agents/{uuid}/child_agents`.
认证
需要 Connected AccountScopes
genai:readTags
Get Agent UsageDIGITALOCEAN_GENAI_GET_AGENT_USAGETo get agent usage, send a GET request to `/v2/gen-ai/agents/{uuid}/usage`. Returns usage metrics for the specified agent within the provided time range.需要连接1 scope
To get agent usage, send a GET request to `/v2/gen-ai/agents/{uuid}/usage`. Returns usage metrics for the specified agent within the provided time range.
认证
需要 Connected AccountScopes
genai:readTags
Get Anthropic API KeyDIGITALOCEAN_GENAI_GET_ANTHROPIC_API_KEYTo retrieve details of an Anthropic API key, send a GET request to `/v2/gen-ai/anthropic/keys/{api_key_uuid}`.需要连接1 scope
To retrieve details of an Anthropic API key, send a GET request to `/v2/gen-ai/anthropic/keys/{api_key_uuid}`.
认证
需要 Connected AccountScopes
genai:readTags
Get Custom ModelDIGITALOCEAN_GENAI_GET_CUSTOM_MODELTo retrieve details of a custom model, send a GET request to `/v2/gen-ai/custom_models/{uuid}`.需要连接1 scope
To retrieve details of a custom model, send a GET request to `/v2/gen-ai/custom_models/{uuid}`.
认证
需要 Connected AccountScopes
genai:readTags
Get Download URL for Evaluation DatasetDIGITALOCEAN_GENAI_GET_EVALUATION_DATASET_DOWNLOAD_URLTo get a presigned download URL for an evaluation dataset, send a GET request to `/v2/genai/evaluation_datasets/{dataset_uuid}/download_url`.需要连接1 scope
To get a presigned download URL for an evaluation dataset, send a GET request to `/v2/genai/evaluation_datasets/{dataset_uuid}/download_url`.
认证
需要 Connected AccountScopes
genai:readTags
Retrieve Information About an Existing Evaluation RunDIGITALOCEAN_GENAI_GET_EVALUATION_RUNTo retrive information about an existing evaluation run, send a GET request to `/v2/gen-ai/evaluation_runs/{evaluation_run_uuid}`.需要连接1 scope
To retrive information about an existing evaluation run, send a GET request to `/v2/gen-ai/evaluation_runs/{evaluation_run_uuid}`.
认证
需要 Connected AccountScopes
genai:readTags
Retrieve Results of an Evaluation Run PromptDIGITALOCEAN_GENAI_GET_EVALUATION_RUN_PROMPT_RESULTSTo retrieve results of an evaluation run, send a GET request to `/v2/gen-ai/evaluation_runs/{evaluation_run_uuid}/results/{prompt_id}`.需要连接1 scope
To retrieve results of an evaluation run, send a GET request to `/v2/gen-ai/evaluation_runs/{evaluation_run_uuid}/results/{prompt_id}`.
认证
需要 Connected AccountScopes
genai:readTags
Retrieve Results of an Evaluation RunDIGITALOCEAN_GENAI_GET_EVALUATION_RUN_RESULTSTo retrieve results of an evaluation run, send a GET request to `/v2/gen-ai/evaluation_runs/{evaluation_run_uuid}/results`.需要连接1 scope
To retrieve results of an evaluation run, send a GET request to `/v2/gen-ai/evaluation_runs/{evaluation_run_uuid}/results`.
认证
需要 Connected AccountScopes
genai:readTags
Retrieve Information About an Existing Evaluation Test CaseDIGITALOCEAN_GENAI_GET_EVALUATION_TEST_CASETo retrive information about an existing evaluation test case, send a GET request to `/v2/gen-ai/evaluation_test_case/{test_case_uuid}`.需要连接1 scope
To retrive information about an existing evaluation test case, send a GET request to `/v2/gen-ai/evaluation_test_case/{test_case_uuid}`.
认证
需要 Connected AccountScopes
genai:readTags
Retrieve Status of Indexing Job for a Knowledge BaseDIGITALOCEAN_GENAI_GET_INDEXING_JOBTo get status of an indexing Job for a knowledge base, send a GET request to `/v2/gen-ai/indexing_jobs/{uuid}`.需要连接1 scope
To get status of an indexing Job for a knowledge base, send a GET request to `/v2/gen-ai/indexing_jobs/{uuid}`.
认证
需要 Connected AccountScopes
genai:readTags
Get Signed URL for Indexing Job DetailsDIGITALOCEAN_GENAI_GET_INDEXING_JOB_DETAILS_SIGNED_URLTo get a signed URL for indexing job details, send a GET request to `/v2/gen-ai/indexing_jobs/{uuid}/details_signed_url`.需要连接1 scope
To get a signed URL for indexing job details, send a GET request to `/v2/gen-ai/indexing_jobs/{uuid}/details_signed_url`.
认证
需要 Connected AccountScopes
genai:readTags
Retrieve Information About an Existing Knowledge BaseDIGITALOCEAN_GENAI_GET_KNOWLEDGE_BASETo retrive information about an existing knowledge base, send a GET request to `/v2/gen-ai/knowledge_bases/{uuid}`.需要连接1 scope
To retrive information about an existing knowledge base, send a GET request to `/v2/gen-ai/knowledge_bases/{uuid}`.
认证
需要 Connected AccountScopes
genai:readTags
Get Model Catalog CardDIGITALOCEAN_GENAI_GET_MODEL_CATALOG_CARDReturns detailed information for a specific model in the catalog including capabilities, pricing, and code examples.需要连接1 scope
Returns detailed information for a specific model in the catalog including capabilities, pricing, and code examples.
认证
需要 Connected AccountScopes
genai:readTags
Retrieve Model Evaluation PresetDIGITALOCEAN_GENAI_GET_MODEL_EVALUATION_PRESETTo retrieve a saved model evaluation preset, send a GET request to `/v2/genai/model_evaluation_presets/{eval_preset_uuid}`.需要连接1 scope
To retrieve a saved model evaluation preset, send a GET request to `/v2/genai/model_evaluation_presets/{eval_preset_uuid}`.
认证
需要 Connected AccountScopes
genai:readTags
Retrieve Model Evaluation RunDIGITALOCEAN_GENAI_GET_MODEL_EVALUATION_RUNTo retrieve a model evaluation run, send a GET request to `/v2/genai/model_evaluation_runs/{eval_run_uuid}`.需要连接1 scope
To retrieve a model evaluation run, send a GET request to `/v2/genai/model_evaluation_runs/{eval_run_uuid}`.
认证
需要 Connected AccountScopes
genai:readTags
Get Download URL for Model Evaluation Run ResultsDIGITALOCEAN_GENAI_GET_MODEL_EVALUATION_RUN_RESULTS_DOWNLOAD_URLTo get a presigned download URL for model evaluation run results (gzip-compressed JSON), send a GET request to `/v2/genai/model_evaluation_runs/{eval_run_uuid}/results/download_url`.需要连接1 scope
To get a presigned download URL for model evaluation run results (gzip-compressed JSON), send a GET request to `/v2/genai/model_evaluation_runs/{eval_run_uuid}/results/download_url`.
认证
需要 Connected AccountScopes
genai:readTags
Retrieve an Existing Model RouterDIGITALOCEAN_GENAI_GET_MODEL_ROUTERTo retrieve details of a model router, send a GET request to `/v2/gen-ai/models/routers/{uuid}`.需要连接1 scope
To retrieve details of a model router, send a GET request to `/v2/gen-ai/models/routers/{uuid}`.
认证
需要 Connected AccountScopes
genai:readTags
Get Oauth2 URLDIGITALOCEAN_GENAI_GET_OAUTH2_URLTo generate an Oauth2-URL for use with your localhost, send a GET request to `/v2/gen-ai/oauth2/url`. Pass 'http://localhost:3000 as redirect_url需要连接1 scope
To generate an Oauth2-URL for use with your localhost, send a GET request to `/v2/gen-ai/oauth2/url`. Pass 'http://localhost:3000 as redirect_url
认证
需要 Connected AccountScopes
genai:readTags
Get OpenAI API KeyDIGITALOCEAN_GENAI_GET_OPENAI_API_KEYTo retrieve details of an OpenAI API key, send a GET request to `/v2/gen-ai/openai/keys/{api_key_uuid}`.需要连接1 scope
To retrieve details of an OpenAI API key, send a GET request to `/v2/gen-ai/openai/keys/{api_key_uuid}`.
认证
需要 Connected AccountScopes
genai:readTags
Get Scheduled Indexing for Knowledge BaseDIGITALOCEAN_GENAI_GET_SCHEDULED_INDEXINGGet Scheduled Indexing for knowledge base using knoweldge base uuid, send a GET request to `/v2/gen-ai/scheduled-indexing/knowledge-base/{knowledge_base_uuid}`.需要连接1 scope
Get Scheduled Indexing for knowledge base using knoweldge base uuid, send a GET request to `/v2/gen-ai/scheduled-indexing/knowledge-base/{knowledge_base_uuid}`.
认证
需要 Connected AccountScopes
genai:readTags
Retrieve an Existing WorkspaceDIGITALOCEAN_GENAI_GET_WORKSPACETo retrieve details of a workspace, GET request to `/v2/gen-ai/workspaces/{workspace_uuid}`. The response body is a JSON object containing the workspace.需要连接1 scope
To retrieve details of a workspace, GET request to `/v2/gen-ai/workspaces/{workspace_uuid}`. The response body is a JSON object containing the workspace.
认证
需要 Connected AccountScopes
genai:readTags
Import Custom ModelDIGITALOCEAN_GENAI_IMPORT_CUSTOM_MODELTo import a custom model, send a POST request to `/v2/gen-ai/custom_models/import`.需要连接1 scope
To import a custom model, send a POST request to `/v2/gen-ai/custom_models/import`.
认证
需要 Connected AccountScopes
genai:createTags
List Agent API KeysDIGITALOCEAN_GENAI_LIST_AGENT_API_KEYSTo list all agent API keys, send a GET request to `/v2/gen-ai/agents/{agent_uuid}/api_keys`.需要连接1 scope
To list all agent API keys, send a GET request to `/v2/gen-ai/agents/{agent_uuid}/api_keys`.
认证
需要 Connected AccountScopes
genai:readTags
List Agent VersionsDIGITALOCEAN_GENAI_LIST_AGENT_VERSIONSTo list all agent versions, send a GET request to `/v2/gen-ai/agents/{uuid}/versions`.需要连接1 scope
To list all agent versions, send a GET request to `/v2/gen-ai/agents/{uuid}/versions`.
认证
需要 Connected AccountScopes
genai:readTags
List AgentsDIGITALOCEAN_GENAI_LIST_AGENTSTo list all agents, send a GET request to `/v2/gen-ai/agents`.需要连接1 scope
To list all agents, send a GET request to `/v2/gen-ai/agents`.
认证
需要 Connected AccountScopes
genai:readTags
List agents by Anthropic keyDIGITALOCEAN_GENAI_LIST_AGENTS_BY_ANTHROPIC_KEYList Agents by Anthropic Key.需要连接1 scope
List Agents by Anthropic Key.
认证
需要 Connected AccountScopes
genai:readTags
List agents by OpenAI keyDIGITALOCEAN_GENAI_LIST_AGENTS_BY_OPENAI_KEYList Agents by OpenAI Key.需要连接1 scope
List Agents by OpenAI Key.
认证
需要 Connected AccountScopes
genai:readTags
List agents by WorkspaceDIGITALOCEAN_GENAI_LIST_AGENTS_BY_WORKSPACETo list all agents by a Workspace, send a GET request to `/v2/gen-ai/workspaces/{workspace_uuid}/agents`.需要连接1 scope
To list all agents by a Workspace, send a GET request to `/v2/gen-ai/workspaces/{workspace_uuid}/agents`.
认证
需要 Connected AccountScopes
genai:readTags
List Anthropic API KeysDIGITALOCEAN_GENAI_LIST_ANTHROPIC_API_KEYSTo list all Anthropic API keys, send a GET request to `/v2/gen-ai/anthropic/keys`.需要连接1 scope
To list all Anthropic API keys, send a GET request to `/v2/gen-ai/anthropic/keys`.
认证
需要 Connected AccountScopes
genai:readTags
List Custom ModelsDIGITALOCEAN_GENAI_LIST_CUSTOM_MODELSTo list custom models, send a GET request to `/v2/gen-ai/custom_models`.需要连接1 scope
To list custom models, send a GET request to `/v2/gen-ai/custom_models`.
认证
需要 Connected AccountScopes
genai:readTags
List Datacenter RegionsDIGITALOCEAN_GENAI_LIST_DATACENTER_REGIONSTo list all datacenter regions, send a GET request to `/v2/gen-ai/regions`.需要连接1 scope
To list all datacenter regions, send a GET request to `/v2/gen-ai/regions`.
认证
需要 Connected AccountScopes
genai:readTags
List Evaluation DatasetsDIGITALOCEAN_GENAI_LIST_EVALUATION_DATASETSTo list evaluation datasets, send a GET request to `/v2/gen-ai/evaluation_datasets`.需要连接1 scope
To list evaluation datasets, send a GET request to `/v2/gen-ai/evaluation_datasets`.
认证
需要 Connected AccountScopes
genai:readTags
List Evaluation MetricsDIGITALOCEAN_GENAI_LIST_EVALUATION_METRICSTo list all evaluation metrics, send a GET request to `/v2/gen-ai/evaluation_metrics`.需要连接1 scope
To list all evaluation metrics, send a GET request to `/v2/gen-ai/evaluation_metrics`.
认证
需要 Connected AccountScopes
genai:readTags
List Evaluation Runs by Test CaseDIGITALOCEAN_GENAI_LIST_EVALUATION_RUNS_BY_TEST_CASETo list all evaluation runs by test case, send a GET request to `/v2/gen-ai/evaluation_test_cases/{evaluation_test_case_uuid}/evaluation_runs`.需要连接1 scope
To list all evaluation runs by test case, send a GET request to `/v2/gen-ai/evaluation_test_cases/{evaluation_test_case_uuid}/evaluation_runs`.
认证
需要 Connected AccountScopes
genai:readTags
List Evaluation Test CasesDIGITALOCEAN_GENAI_LIST_EVALUATION_TEST_CASESTo list all evaluation test cases, send a GET request to `/v2/gen-ai/evaluation_test_cases`.需要连接1 scope
To list all evaluation test cases, send a GET request to `/v2/gen-ai/evaluation_test_cases`.
认证
需要 Connected AccountScopes
genai:readTags
List Evaluation Test Cases by WorkspaceDIGITALOCEAN_GENAI_LIST_EVALUATION_TEST_CASES_BY_WORKSPACETo list all evaluation test cases by a workspace, send a GET request to `/v2/gen-ai/workspaces/{workspace_uuid}/evaluation_test_cases`.需要连接1 scope
To list all evaluation test cases by a workspace, send a GET request to `/v2/gen-ai/workspaces/{workspace_uuid}/evaluation_test_cases`.
认证
需要 Connected AccountScopes
genai:readTags
List Data Sources for Indexing Job for a Knowledge BaseDIGITALOCEAN_GENAI_LIST_INDEXING_JOB_DATA_SOURCESTo list all datasources for an indexing job, send a GET request to `/v2/gen-ai/indexing_jobs/{indexing_job_uuid}/data_sources`.需要连接1 scope
To list all datasources for an indexing job, send a GET request to `/v2/gen-ai/indexing_jobs/{indexing_job_uuid}/data_sources`.
认证
需要 Connected AccountScopes
genai:readTags
List Indexing Jobs for a Knowledge BaseDIGITALOCEAN_GENAI_LIST_INDEXING_JOBSTo list all indexing jobs for a knowledge base, send a GET request to `/v2/gen-ai/indexing_jobs`.需要连接1 scope
To list all indexing jobs for a knowledge base, send a GET request to `/v2/gen-ai/indexing_jobs`.
认证
需要 Connected AccountScopes
genai:readTags
List Indexing Jobs for a Knowledge BaseDIGITALOCEAN_GENAI_LIST_INDEXING_JOBS_BY_KNOWLEDGE_BASETo list latest 15 indexing jobs for a knowledge base, send a GET request to `/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/indexing_jobs`.需要连接1 scope
To list latest 15 indexing jobs for a knowledge base, send a GET request to `/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/indexing_jobs`.
认证
需要 Connected AccountScopes
genai:readTags
List Data Sources for a Knowledge BaseDIGITALOCEAN_GENAI_LIST_KNOWLEDGE_BASE_DATA_SOURCESTo list all data sources for a knowledge base, send a GET request to `/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources`.需要连接1 scope
To list all data sources for a knowledge base, send a GET request to `/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources`.
认证
需要 Connected AccountScopes
genai:readTags
List Knowledge BasesDIGITALOCEAN_GENAI_LIST_KNOWLEDGE_BASESTo list all knowledge bases, send a GET request to `/v2/gen-ai/knowledge_bases`.需要连接1 scope
To list all knowledge bases, send a GET request to `/v2/gen-ai/knowledge_bases`.
认证
需要 Connected AccountScopes
genai:readTags
List Model API KeysDIGITALOCEAN_GENAI_LIST_MODEL_API_KEYSTo list all model API keys, send a GET request to `/v2/gen-ai/models/api_keys`.需要连接1 scope
To list all model API keys, send a GET request to `/v2/gen-ai/models/api_keys`.
认证
需要 Connected AccountScopes
genai:readTags
List Model CatalogDIGITALOCEAN_GENAI_LIST_MODEL_CATALOGReturns all available models.需要连接1 scope
Returns all available models.
认证
需要 Connected AccountScopes
genai:readTags
List Model Evaluation MetricsDIGITALOCEAN_GENAI_LIST_MODEL_EVALUATION_METRICSTo list all available metrics for model evaluation, send a GET request to `/v2/genai/model_evaluation_metrics`.需要连接1 scope
To list all available metrics for model evaluation, send a GET request to `/v2/genai/model_evaluation_metrics`.
认证
需要 Connected AccountScopes
genai:readTags
List Model Evaluation PresetsDIGITALOCEAN_GENAI_LIST_MODEL_EVALUATION_PRESETSTo list all saved model evaluation presets, send a GET request to `/v2/genai/model_evaluation_presets`.需要连接1 scope
To list all saved model evaluation presets, send a GET request to `/v2/genai/model_evaluation_presets`.
认证
需要 Connected AccountScopes
genai:readTags
List Model Evaluation RunsDIGITALOCEAN_GENAI_LIST_MODEL_EVALUATION_RUNSTo list model evaluation runs, send a GET request to `/v2/genai/model_evaluation_runs`.需要连接1 scope
To list model evaluation runs, send a GET request to `/v2/genai/model_evaluation_runs`.
认证
需要 Connected AccountScopes
genai:readTags
List Model Router PresetsDIGITALOCEAN_GENAI_LIST_MODEL_ROUTER_PRESETSTo list model router presets, send a GET request to `/v2/gen-ai/models/routers/presets`.需要连接1 scope
To list model router presets, send a GET request to `/v2/gen-ai/models/routers/presets`.
认证
需要 Connected AccountScopes
genai:readTags
List Model Router Task PresetsDIGITALOCEAN_GENAI_LIST_MODEL_ROUTER_TASK_PRESETSTo list model router task presets, send a GET request to `/v2/gen-ai/models/routers/tasks/presets`.需要连接1 scope
To list model router task presets, send a GET request to `/v2/gen-ai/models/routers/tasks/presets`.
认证
需要 Connected AccountScopes
genai:readTags
List Model RoutersDIGITALOCEAN_GENAI_LIST_MODEL_ROUTERSTo list model routers, send a GET request to `/v2/gen-ai/models/routers`.需要连接1 scope
To list model routers, send a GET request to `/v2/gen-ai/models/routers`.
认证
需要 Connected AccountScopes
genai:readTags
List Available ModelsDIGITALOCEAN_GENAI_LIST_MODELSTo list all models, send a GET request to `/v2/gen-ai/models`.需要连接1 scope
To list all models, send a GET request to `/v2/gen-ai/models`.
认证
需要 Connected AccountScopes
genai:readTags
List OpenAI API KeysDIGITALOCEAN_GENAI_LIST_OPENAI_API_KEYSTo list all OpenAI API keys, send a GET request to `/v2/gen-ai/openai/keys`.需要连接1 scope
To list all OpenAI API keys, send a GET request to `/v2/gen-ai/openai/keys`.
认证
需要 Connected AccountScopes
genai:readTags
List WorkspacesDIGITALOCEAN_GENAI_LIST_WORKSPACESTo list all workspaces, send a GET request to `/v2/gen-ai/workspaces`.需要连接1 scope
To list all workspaces, send a GET request to `/v2/gen-ai/workspaces`.
认证
需要 Connected AccountScopes
genai:readTags
Regenerate API Key for an AgentDIGITALOCEAN_GENAI_REGENERATE_AGENT_API_KEYTo regenerate an agent API key, send a PUT request to `/v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}/regenerate`.需要连接1 scope
To regenerate an agent API key, send a PUT request to `/v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}/regenerate`.
认证
需要 Connected AccountScopes
genai:updateTags
Regenerate API Key for a ModelDIGITALOCEAN_GENAI_REGENERATE_MODEL_API_KEYTo regenerate a model API key, send a PUT request to `/v2/gen-ai/models/api_keys/{api_key_uuid}/regenerate`.需要连接1 scope
To regenerate a model API key, send a PUT request to `/v2/gen-ai/models/api_keys/{api_key_uuid}/regenerate`.
认证
需要 Connected AccountScopes
genai:updateTags
Rollback to Agent VersionDIGITALOCEAN_GENAI_ROLLBACK_TO_AGENT_VERSIONTo update to a specific agent version, send a PUT request to `/v2/gen-ai/agents/{uuid}/versions`.需要连接1 scope
To update to a specific agent version, send a PUT request to `/v2/gen-ai/agents/{uuid}/versions`.
认证
需要 Connected AccountScopes
genai:updateTags
Run an Evaluation Test CaseDIGITALOCEAN_GENAI_RUN_EVALUATION_TEST_CASETo run an evaluation test case, send a POST request to `/v2/gen-ai/evaluation_runs`.需要连接1 scope
To run an evaluation test case, send a POST request to `/v2/gen-ai/evaluation_runs`.
认证
需要 Connected AccountScopes
genai:createTags
Update an AgentDIGITALOCEAN_GENAI_UPDATE_AGENTTo update an agent, send a PUT request to `/v2/gen-ai/agents/{uuid}`. The response body is a JSON object containing the agent.需要连接1 scope
To update an agent, send a PUT request to `/v2/gen-ai/agents/{uuid}`. The response body is a JSON object containing the agent.
认证
需要 Connected AccountScopes
genai:updateTags
Update API Key for an AgentDIGITALOCEAN_GENAI_UPDATE_AGENT_API_KEYTo update an agent API key, send a PUT request to `/v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}`.需要连接1 scope
To update an agent API key, send a PUT request to `/v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}`.
认证
需要 Connected AccountScopes
genai:updateTags
Update Agent StatusDIGITALOCEAN_GENAI_UPDATE_AGENT_DEPLOYMENT_VISIBILITYCheck whether an agent is public or private. To update the agent status, send a PUT request to `/v2/gen-ai/agents/{uuid}/deployment_visibility`.需要连接1 scope
Check whether an agent is public or private. To update the agent status, send a PUT request to `/v2/gen-ai/agents/{uuid}/deployment_visibility`.
认证
需要 Connected AccountScopes
genai:updateTags
Update Function Route for an AgentDIGITALOCEAN_GENAI_UPDATE_AGENT_FUNCTIONTo update the function route, send a PUT request to `/v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}`.需要连接1 scope
To update the function route, send a PUT request to `/v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}`.
认证
需要 Connected AccountScopes
genai:updateTags
Move Agents to a WorkspaceDIGITALOCEAN_GENAI_UPDATE_AGENTS_WORKSPACETo move all listed agents a given workspace, send a PUT request to `/v2/gen-ai/workspaces/{workspace_uuid}/agents`.需要连接1 scope
To move all listed agents a given workspace, send a PUT request to `/v2/gen-ai/workspaces/{workspace_uuid}/agents`.
认证
需要 Connected AccountScopes
genai:updateTags
Update Anthropic API KeyDIGITALOCEAN_GENAI_UPDATE_ANTHROPIC_API_KEYTo update an Anthropic API key, send a PUT request to `/v2/gen-ai/anthropic/keys/{api_key_uuid}`.需要连接1 scope
To update an Anthropic API key, send a PUT request to `/v2/gen-ai/anthropic/keys/{api_key_uuid}`.
认证
需要 Connected AccountScopes
genai:updateTags
Update Agent Route for an AgentDIGITALOCEAN_GENAI_UPDATE_ATTACHED_AGENTTo update an agent route for an agent, send a PUT request to `/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}`.需要连接1 scope
To update an agent route for an agent, send a PUT request to `/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}`.
认证
需要 Connected AccountScopes
genai:updateTags
Update Custom Evaluation MetricDIGITALOCEAN_GENAI_UPDATE_CUSTOM_EVALUATION_METRICTo update a custom metric (issuing a new metric UUID), send a PUT request to `/v2/gen-ai/custom_evaluation_metrics/{metric_uuid}`.需要连接1 scope
To update a custom metric (issuing a new metric UUID), send a PUT request to `/v2/gen-ai/custom_evaluation_metrics/{metric_uuid}`.
认证
需要 Connected AccountScopes
genai:updateTags
Update Custom Model MetadataDIGITALOCEAN_GENAI_UPDATE_CUSTOM_MODEL_METADATATo update custom model metadata, send a PATCH request to `/v2/gen-ai/custom_models/{uuid}/metadata`.需要连接1 scope
To update custom model metadata, send a PATCH request to `/v2/gen-ai/custom_models/{uuid}/metadata`.
认证
需要 Connected AccountScopes
genai:defaultTags
Update an Evaluation Test Case.DIGITALOCEAN_GENAI_UPDATE_EVALUATION_TEST_CASETo update an evaluation test-case send a PUT request to `/v2/gen-ai/evaluation_test_cases/{test_case_uuid}`.需要连接1 scope
To update an evaluation test-case send a PUT request to `/v2/gen-ai/evaluation_test_cases/{test_case_uuid}`.
认证
需要 Connected AccountScopes
genai:updateTags
Update a Knowledge BaseDIGITALOCEAN_GENAI_UPDATE_KNOWLEDGE_BASETo update a knowledge base, send a PUT request to `/v2/gen-ai/knowledge_bases/{uuid}`.需要连接1 scope
To update a knowledge base, send a PUT request to `/v2/gen-ai/knowledge_bases/{uuid}`.
认证
需要 Connected AccountScopes
genai:updateTags
Update Data Source optionsDIGITALOCEAN_GENAI_UPDATE_KNOWLEDGE_BASE_DATA_SOURCETo update a data source (e.g. chunking options), send a PUT request to `/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources/{data_source_uuid}`.需要连接1 scope
To update a data source (e.g. chunking options), send a PUT request to `/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources/{data_source_uuid}`.
认证
需要 Connected AccountScopes
genai:updateTags
Update API Key for a ModelDIGITALOCEAN_GENAI_UPDATE_MODEL_API_KEYTo update a model API key, send a PUT request to `/v2/gen-ai/models/api_keys/{api_key_uuid}`.需要连接1 scope
To update a model API key, send a PUT request to `/v2/gen-ai/models/api_keys/{api_key_uuid}`.
认证
需要 Connected AccountScopes
genai:updateTags
Update Model Evaluation RunDIGITALOCEAN_GENAI_UPDATE_MODEL_EVALUATION_RUNTo update a model evaluation run's display name, send a PATCH request to `/v2/gen-ai/model_evaluation_runs/{eval_run_uuid}`.需要连接1 scope
To update a model evaluation run's display name, send a PATCH request to `/v2/gen-ai/model_evaluation_runs/{eval_run_uuid}`.
认证
需要 Connected AccountScopes
genai:updateTags
Update a Model RouterDIGITALOCEAN_GENAI_UPDATE_MODEL_ROUTERTo update a model router, send a PUT request to `/v2/gen-ai/models/routers/{uuid}`.需要连接1 scope
To update a model router, send a PUT request to `/v2/gen-ai/models/routers/{uuid}`.
认证
需要 Connected AccountScopes
genai:updateTags
Update OpenAI API KeyDIGITALOCEAN_GENAI_UPDATE_OPENAI_API_KEYTo update an OpenAI API key, send a PUT request to `/v2/gen-ai/openai/keys/{api_key_uuid}`.需要连接1 scope
To update an OpenAI API key, send a PUT request to `/v2/gen-ai/openai/keys/{api_key_uuid}`.
认证
需要 Connected AccountScopes
genai:updateTags
Update a WorkspaceDIGITALOCEAN_GENAI_UPDATE_WORKSPACETo update a workspace, send a PUT request to `/v2/gen-ai/workspaces/{workspace_uuid}`. The response body is a JSON object containing the workspace.需要连接1 scope
To update a workspace, send a PUT request to `/v2/gen-ai/workspaces/{workspace_uuid}`. The response body is a JSON object containing the workspace.
认证
需要 Connected AccountScopes
genai:updateTags
Retrieve an Existing ActionDIGITALOCEAN_IMAGE_ACTIONS_GETTo retrieve the status of an image action, send a GET request to `/v2/images/$IMAGE_ID/actions/$IMAGE_ACTION_ID`.需要连接1 scope
To retrieve the status of an image action, send a GET request to `/v2/images/$IMAGE_ID/actions/$IMAGE_ACTION_ID`.
认证
需要 Connected AccountScopes
image:readTags
List All Actions for an ImageDIGITALOCEAN_IMAGE_ACTIONS_LISTTo retrieve all actions that have been executed on an image, send a GET request to `/v2/images/$IMAGE_ID/actions`.需要连接1 scope
To retrieve all actions that have been executed on an image, send a GET request to `/v2/images/$IMAGE_ID/actions`.
认证
需要 Connected AccountScopes
image:readTags
Initiate an Image ActionDIGITALOCEAN_IMAGE_ACTIONS_POSTThe following actions are available on an Image. ## Convert an Image to a Snapshot To convert an image, for example, a backup to a snapshot, send a POST request to `/v2/images/$IMAGE_ID/actions`. Set the `type` attribute to `convert`. ## Transfer an Image To transfer an image to another region, send a POST request to `/v2/images/$IMAGE_ID/actions`. Set the `type` attribute to `transfer` and set `region` attribute to the slug identifier of the region you wish to transfer to.需要连接1 scope
The following actions are available on an Image. ## Convert an Image to a Snapshot To convert an image, for example, a backup to a snapshot, send a POST request to `/v2/images/$IMAGE_ID/actions`. Set the `type` attribute to `convert`. ## Transfer an Image To transfer an image to another region, send a POST request to `/v2/images/$IMAGE_ID/actions`. Set the `type` attribute to `transfer` and set `region` attribute to the slug identifier of the region you wish to transfer to.
认证
需要 Connected AccountScopes
image:updateTags
Create a Custom ImageDIGITALOCEAN_IMAGES_CREATE_CUSTOMTo create a new custom image, send a POST request to /v2/images. The body must contain a url attribute pointing to a Linux virtual machine image to be imported into DigitalOcean. The image must be in the raw, qcow2, vhdx, vdi, or vmdk format. It may be compressed using gzip or bzip2 and must be smaller than 100 GB after being decompressed.需要连接1 scope
To create a new custom image, send a POST request to /v2/images. The body must contain a url attribute pointing to a Linux virtual machine image to be imported into DigitalOcean. The image must be in the raw, qcow2, vhdx, vdi, or vmdk format. It may be compressed using gzip or bzip2 and must be smaller than 100 GB after being decompressed.
认证
需要 Connected AccountScopes
image:createTags
Delete an ImageDIGITALOCEAN_IMAGES_DELETETo delete a snapshot or custom image, send a `DELETE` request to `/v2/images/$IMAGE_ID`.需要连接1 scope
To delete a snapshot or custom image, send a `DELETE` request to `/v2/images/$IMAGE_ID`.
认证
需要 Connected AccountScopes
image:deleteTags
Retrieve an Existing ImageDIGITALOCEAN_IMAGES_GETTo retrieve information about an image, send a `GET` request to `/v2/images/$IDENTIFIER`.需要连接1 scope
To retrieve information about an image, send a `GET` request to `/v2/images/$IDENTIFIER`.
认证
需要 Connected AccountScopes
image:readTags
List All ImagesDIGITALOCEAN_IMAGES_LISTTo list all of the images available on your account, send a GET request to /v2/images. ## Filtering Results ----- It's possible to request filtered results by including certain query parameters. **Image Type** Either 1-Click Application or OS Distribution images can be filtered by using the `type` query parameter. > Important: The `type` query parameter does not directly relate to the `type` attribute. To retrieve only ***distribution*** images, include the `type` query parameter set to distribution, `/v2/images?type=distribution`. To retrieve only ***application*** images, include the `type` query parameter set to application, `/v2/images?type=application`. **User Images** To retrieve only the private images of a user, include the `private` query parameter set to true, `/v2/images?private=true`. **Tags** To list all images assigned to a specific tag, include the `tag_name` query parameter set to the name of the tag in your GET request. For example, `/v2/images?tag_name=$TAG_NAME`.需要连接1 scope
To list all of the images available on your account, send a GET request to /v2/images. ## Filtering Results ----- It's possible to request filtered results by including certain query parameters. **Image Type** Either 1-Click Application or OS Distribution images can be filtered by using the `type` query parameter. > Important: The `type` query parameter does not directly relate to the `type` attribute. To retrieve only ***distribution*** images, include the `type` query parameter set to distribution, `/v2/images?type=distribution`. To retrieve only ***application*** images, include the `type` query parameter set to application, `/v2/images?type=application`. **User Images** To retrieve only the private images of a user, include the `private` query parameter set to true, `/v2/images?private=true`. **Tags** To list all images assigned to a specific tag, include the `tag_name` query parameter set to the name of the tag in your GET request. For example, `/v2/images?tag_name=$TAG_NAME`.
认证
需要 Connected AccountScopes
image:readTags
Accept an Image Account TransferDIGITALOCEAN_IMAGES_POST_ACCOUNT_TRANSFER_ACCEPTTo accept an account transfer for an image, send a POST request to `/v2/images/$IMAGE_ID/account_transfer/accept`.需要连接1 scope
To accept an account transfer for an image, send a POST request to `/v2/images/$IMAGE_ID/account_transfer/accept`.
认证
需要 Connected AccountScopes
image:createTags
Cancel an Image Account TransferDIGITALOCEAN_IMAGES_POST_ACCOUNT_TRANSFER_CANCELTo cancel an account transfer for an image, send a POST request to `/v2/images/$IMAGE_ID/account_transfer/cancel`. Only the sender of an image account transfer can cancel the transfer. If the transfer is canceled, the image will remain in the sender's account and will not be transferred to the recipient.需要连接1 scope
To cancel an account transfer for an image, send a POST request to `/v2/images/$IMAGE_ID/account_transfer/cancel`. Only the sender of an image account transfer can cancel the transfer. If the transfer is canceled, the image will remain in the sender's account and will not be transferred to the recipient.
认证
需要 Connected AccountScopes
image:updateTags
Initiate an Image Account TransferDIGITALOCEAN_IMAGES_POST_ACCOUNT_TRANSFER_CREATETo initiate an account transfer for an image, send a POST request to `/v2/images/$IMAGE_ID/account_transfer`. Only snapshot images may be transferred by this endpoint to another account. An image account transfer always has exactly one recipient, specified in the request body. The recipient can be one of the following: * A DigitalOcean account, denoted by `recipient_email` in the request body. The recipient will receive an email with instructions to accept the transfer. Once the recipient accepts the transfer, the image will be moved to their account. * A DigitalOcean team, denoted by `recipient_uuid` in the request body. If the user has sufficient permissions in the recipient team, the transfer will be automatically accepted and the image will be moved to the recipient team's account. Otherwise, the transfer will be pending until a user with sufficient permissions in the recipient team accepts the transfer.需要连接2 scopes
To initiate an account transfer for an image, send a POST request to `/v2/images/$IMAGE_ID/account_transfer`. Only snapshot images may be transferred by this endpoint to another account. An image account transfer always has exactly one recipient, specified in the request body. The recipient can be one of the following: * A DigitalOcean account, denoted by `recipient_email` in the request body. The recipient will receive an email with instructions to accept the transfer. Once the recipient accepts the transfer, the image will be moved to their account. * A DigitalOcean team, denoted by `recipient_uuid` in the request body. If the user has sufficient permissions in the recipient team, the transfer will be automatically accepted and the image will be moved to the recipient team's account. Otherwise, the transfer will be pending until a user with sufficient permissions in the recipient team accepts the transfer.
认证
需要 Connected AccountScopes
image:updateimage:deleteTags
Decline an Image Account TransferDIGITALOCEAN_IMAGES_POST_ACCOUNT_TRANSFER_DECLINETo decline an account transfer for an image, send a POST request to `/v2/images/$IMAGE_ID/account_transfer/decline`. Only the recipient of an image account transfer can decline the transfer. If the transfer is declined, the image will remain in the sender's account and will not be transferred to the recipient.需要连接1 scope
To decline an account transfer for an image, send a POST request to `/v2/images/$IMAGE_ID/account_transfer/decline`. Only the recipient of an image account transfer can decline the transfer. If the transfer is declined, the image will remain in the sender's account and will not be transferred to the recipient.
认证
需要 Connected AccountScopes
image:createTags
Update an ImageDIGITALOCEAN_IMAGES_UPDATETo update an image, send a `PUT` request to `/v2/images/$IMAGE_ID`. Set the `name` attribute to the new value you would like to use. For custom images, the `description` and `distribution` attributes may also be updated.需要连接1 scope
To update an image, send a `PUT` request to `/v2/images/$IMAGE_ID`. Set the `name` attribute to the new value you would like to use. For custom images, the `description` and `distribution` attributes may also be updated.
认证
需要 Connected AccountScopes
image:updateTags
Retrieve an Invoice by UUIDDIGITALOCEAN_INVOICES_GET_BY_UUIDTo retrieve the invoice items for an invoice, send a GET request to `/v2/customers/my/invoices/$INVOICE_UUID`.需要连接1 scope
To retrieve the invoice items for an invoice, send a GET request to `/v2/customers/my/invoices/$INVOICE_UUID`.
认证
需要 Connected AccountScopes
billing:readTags
Retrieve an Invoice CSV by UUIDDIGITALOCEAN_INVOICES_GET_CSV_BY_UUIDTo retrieve a CSV for an invoice, send a GET request to `/v2/customers/my/invoices/$INVOICE_UUID/csv`.需要连接1 scope
To retrieve a CSV for an invoice, send a GET request to `/v2/customers/my/invoices/$INVOICE_UUID/csv`.
认证
需要 Connected AccountScopes
billing:readTags
Retrieve an Invoice PDF by UUIDDIGITALOCEAN_INVOICES_GET_PDF_BY_UUIDTo retrieve a PDF for an invoice, send a GET request to `/v2/customers/my/invoices/$INVOICE_UUID/pdf`.需要连接1 scope
To retrieve a PDF for an invoice, send a GET request to `/v2/customers/my/invoices/$INVOICE_UUID/pdf`.
认证
需要 Connected AccountScopes
billing:readTags
Retrieve an Invoice Summary by UUIDDIGITALOCEAN_INVOICES_GET_SUMMARY_BY_UUIDTo retrieve a summary for an invoice, send a GET request to `/v2/customers/my/invoices/$INVOICE_UUID/summary`.需要连接1 scope
To retrieve a summary for an invoice, send a GET request to `/v2/customers/my/invoices/$INVOICE_UUID/summary`.
认证
需要 Connected AccountScopes
billing:readTags
List All InvoicesDIGITALOCEAN_INVOICES_LISTTo retrieve a list of all invoices, send a GET request to `/v2/customers/my/invoices`.需要连接1 scope
To retrieve a list of all invoices, send a GET request to `/v2/customers/my/invoices`.
认证
需要 Connected AccountScopes
billing:readTags
Add a Node Pool to a Kubernetes ClusterDIGITALOCEAN_KUBERNETES_ADD_NODE_POOLTo add an additional node pool to a Kubernetes clusters, send a POST request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools` with the following attributes.需要连接1 scope
To add an additional node pool to a Kubernetes clusters, send a POST request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools` with the following attributes.
认证
需要 Connected AccountScopes
kubernetes:updateTags
Add Container Registries to Kubernetes ClustersDIGITALOCEAN_KUBERNETES_ADD_REGISTRIESTo integrate the container registries with Kubernetes clusters, send a POST request to `/v2/kubernetes/registries`.需要连接2 scopes
To integrate the container registries with Kubernetes clusters, send a POST request to `/v2/kubernetes/registries`.
认证
需要 Connected AccountScopes
kubernetes:createkubernetes:updateTags
Add Container Registry to Kubernetes ClustersDIGITALOCEAN_KUBERNETES_ADD_REGISTRYTo integrate the container registry with Kubernetes clusters, send a POST request to `/v2/kubernetes/registry`.需要连接2 scopes
To integrate the container registry with Kubernetes clusters, send a POST request to `/v2/kubernetes/registry`.
认证
需要 Connected AccountScopes
kubernetes:createkubernetes:updateTags
Create a New Kubernetes ClusterDIGITALOCEAN_KUBERNETES_CREATE_CLUSTERTo create a new Kubernetes cluster, send a POST request to `/v2/kubernetes/clusters`. The request must contain at least one node pool with at least one worker. The request may contain a maintenance window policy describing a time period when disruptive maintenance tasks may be carried out. Omitting the policy implies that a window will be chosen automatically. See [here](https://docs.digitalocean.com/products/kubernetes/how-to/upgrade-cluster/) for details.需要连接1 scope
To create a new Kubernetes cluster, send a POST request to `/v2/kubernetes/clusters`. The request must contain at least one node pool with at least one worker. The request may contain a maintenance window policy describing a time period when disruptive maintenance tasks may be carried out. Omitting the policy implies that a window will be chosen automatically. See [here](https://docs.digitalocean.com/products/kubernetes/how-to/upgrade-cluster/) for details.
认证
需要 Connected AccountScopes
kubernetes:createTags
Delete a Kubernetes ClusterDIGITALOCEAN_KUBERNETES_DELETE_CLUSTERTo delete a Kubernetes cluster and all services deployed to it, send a DELETE request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID`. A 204 status code with no body will be returned in response to a successful request.需要连接1 scope
To delete a Kubernetes cluster and all services deployed to it, send a DELETE request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID`. A 204 status code with no body will be returned in response to a successful request.
认证
需要 Connected AccountScopes
kubernetes:deleteTags
Delete a Node in a Kubernetes ClusterDIGITALOCEAN_KUBERNETES_DELETE_NODETo delete a single node in a pool, send a DELETE request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID/nodes/$NODE_ID`. Appending the `skip_drain=1` query parameter to the request causes node draining to be skipped. Omitting the query parameter or setting its value to `0` carries out draining prior to deletion. Appending the `replace=1` query parameter to the request causes the node to be replaced by a new one after deletion. Omitting the query parameter or setting its value to `0` deletes without replacement.需要连接1 scope
To delete a single node in a pool, send a DELETE request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID/nodes/$NODE_ID`. Appending the `skip_drain=1` query parameter to the request causes node draining to be skipped. Omitting the query parameter or setting its value to `0` carries out draining prior to deletion. Appending the `replace=1` query parameter to the request causes the node to be replaced by a new one after deletion. Omitting the query parameter or setting its value to `0` deletes without replacement.
认证
需要 Connected AccountScopes
kubernetes:updateTags
Delete a Node Pool in a Kubernetes ClusterDIGITALOCEAN_KUBERNETES_DELETE_NODE_POOLTo delete a node pool, send a DELETE request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID`. A 204 status code with no body will be returned in response to a successful request. Nodes in the pool will subsequently be drained and deleted.需要连接1 scope
To delete a node pool, send a DELETE request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID`. A 204 status code with no body will be returned in response to a successful request. Nodes in the pool will subsequently be drained and deleted.
认证
需要 Connected AccountScopes
kubernetes:updateTags
Delete a Cluster and All of its Associated Resources (Dangerous)DIGITALOCEAN_KUBERNETES_DESTROY_ASSOCIATED_RESOURCES_DANGEROUSTo delete a Kubernetes cluster with all of its associated resources, send a DELETE request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/destroy_with_associated_resources/dangerous`. A 204 status code with no body will be returned in response to a successful request.需要连接1 scope
To delete a Kubernetes cluster with all of its associated resources, send a DELETE request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/destroy_with_associated_resources/dangerous`. A 204 status code with no body will be returned in response to a successful request.
认证
需要 Connected AccountScopes
kubernetes:deleteTags
Selectively Delete a Cluster and its Associated ResourcesDIGITALOCEAN_KUBERNETES_DESTROY_ASSOCIATED_RESOURCES_SELECTIVETo delete a Kubernetes cluster along with a subset of its associated resources, send a DELETE request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/destroy_with_associated_resources/selective`. The JSON body of the request should include `load_balancers`, `volumes`, or `volume_snapshots` keys each set to an array of IDs for the associated resources to be destroyed. The IDs can be found by querying the cluster's associated resources endpoint. Any associated resource not included in the request will remain and continue to accrue changes on your account.需要连接1 scope
To delete a Kubernetes cluster along with a subset of its associated resources, send a DELETE request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/destroy_with_associated_resources/selective`. The JSON body of the request should include `load_balancers`, `volumes`, or `volume_snapshots` keys each set to an array of IDs for the associated resources to be destroyed. The IDs can be found by querying the cluster's associated resources endpoint. Any associated resource not included in the request will remain and continue to accrue changes on your account.
认证
需要 Connected AccountScopes
kubernetes:deleteTags
Retrieve Available Upgrades for an Existing Kubernetes ClusterDIGITALOCEAN_KUBERNETES_GET_AVAILABLE_UPGRADESTo determine whether a cluster can be upgraded, and the versions to which it can be upgraded, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/upgrades`.需要连接1 scope
To determine whether a cluster can be upgraded, and the versions to which it can be upgraded, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/upgrades`.
认证
需要 Connected AccountScopes
kubernetes:readTags
Retrieve an Existing Kubernetes ClusterDIGITALOCEAN_KUBERNETES_GET_CLUSTERTo show information about an existing Kubernetes cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID`.需要连接1 scope
To show information about an existing Kubernetes cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID`.
认证
需要 Connected AccountScopes
kubernetes:readTags
Fetch Clusterlint Diagnostics for a Kubernetes ClusterDIGITALOCEAN_KUBERNETES_GET_CLUSTER_LINT_RESULTSTo request clusterlint diagnostics for your cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/clusterlint`. If the `run_id` query parameter is provided, then the diagnostics for the specific run is fetched. By default, the latest results are shown. To find out how to address clusterlint feedback, please refer to [the clusterlint check documentation](https://github.com/digitalocean/clusterlint/blob/master/checks.md).需要连接1 scope
To request clusterlint diagnostics for your cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/clusterlint`. If the `run_id` query parameter is provided, then the diagnostics for the specific run is fetched. By default, the latest results are shown. To find out how to address clusterlint feedback, please refer to [the clusterlint check documentation](https://github.com/digitalocean/clusterlint/blob/master/checks.md).
认证
需要 Connected AccountScopes
kubernetes:readTags
Retrieve User Information for a Kubernetes ClusterDIGITALOCEAN_KUBERNETES_GET_CLUSTER_USERTo show information the user associated with a Kubernetes cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/user`.需要连接1 scope
To show information the user associated with a Kubernetes cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/user`.
认证
需要 Connected AccountScopes
kubernetes:readTags
Retrieve Credentials for a Kubernetes ClusterDIGITALOCEAN_KUBERNETES_GET_CREDENTIALSThis endpoint returns a JSON object . It can be used to programmatically construct Kubernetes clients which cannot parse kubeconfig files. The resulting JSON object contains token-based authentication for clusters supporting it, and certificate-based authentication otherwise. For a list of supported versions and more information, see "[How to Connect to a DigitalOcean Kubernetes Cluster](https://docs.digitalocean.com/products/kubernetes/how-to/connect-to-cluster/)". To retrieve credentials for accessing a Kubernetes cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/credentials`. Clusters supporting token-based authentication may define an expiration by passing a duration in seconds as a query parameter to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/credentials?expiry_seconds=$DURATION_IN_SECONDS`. If not set or 0, then the token will have a 7 day expiry. The query parameter has no impact in certificate-based authentication.需要连接1 scope
This endpoint returns a JSON object . It can be used to programmatically construct Kubernetes clients which cannot parse kubeconfig files. The resulting JSON object contains token-based authentication for clusters supporting it, and certificate-based authentication otherwise. For a list of supported versions and more information, see "[How to Connect to a DigitalOcean Kubernetes Cluster](https://docs.digitalocean.com/products/kubernetes/how-to/connect-to-cluster/)". To retrieve credentials for accessing a Kubernetes cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/credentials`. Clusters supporting token-based authentication may define an expiration by passing a duration in seconds as a query parameter to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/credentials?expiry_seconds=$DURATION_IN_SECONDS`. If not set or 0, then the token will have a 7 day expiry. The query parameter has no impact in certificate-based authentication.
认证
需要 Connected AccountScopes
kubernetes:access_clusterTags
Retrieve the kubeconfig for a Kubernetes ClusterDIGITALOCEAN_KUBERNETES_GET_KUBECONFIGThis endpoint returns a kubeconfig file in YAML format. It can be used to connect to and administer the cluster using the Kubernetes command line tool, `kubectl`, or other programs supporting kubeconfig files (e.g., client libraries). The resulting kubeconfig file uses token-based authentication for clusters supporting it, and certificate-based authentication otherwise. For a list of supported versions and more information, see "[How to Connect to a DigitalOcean Kubernetes Cluster](https://docs.digitalocean.com/products/kubernetes/how-to/connect-to-cluster/)". To retrieve a kubeconfig file for use with a Kubernetes cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/kubeconfig`. Clusters supporting token-based authentication may define an expiration by passing a duration in seconds as a query parameter to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/kubeconfig?expiry_seconds=$DURATION_IN_SECONDS`. If not set or 0, then the token will have a 7 day expiry. The query parameter has no impact for other kubeconfig types. Using an `sso` kubeconfig type requires `doctl` to be installed to handle the client side of the OAuth2 flow. Kubernetes Roles granted to a user are derived from that user's DigitalOcean role. Predefined roles (Owner, Member, Modifier etc.) have an automatic mapping to Kubernetes roles. Custom roles are not automatically mapped to any Kubernetes roles, and require [additional configuration](https://docs.digitalocean.com/products/kubernetes/how-to/set-up-custom-rolebindings/) by a cluster administrator.需要连接1 scope
This endpoint returns a kubeconfig file in YAML format. It can be used to connect to and administer the cluster using the Kubernetes command line tool, `kubectl`, or other programs supporting kubeconfig files (e.g., client libraries). The resulting kubeconfig file uses token-based authentication for clusters supporting it, and certificate-based authentication otherwise. For a list of supported versions and more information, see "[How to Connect to a DigitalOcean Kubernetes Cluster](https://docs.digitalocean.com/products/kubernetes/how-to/connect-to-cluster/)". To retrieve a kubeconfig file for use with a Kubernetes cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/kubeconfig`. Clusters supporting token-based authentication may define an expiration by passing a duration in seconds as a query parameter to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/kubeconfig?expiry_seconds=$DURATION_IN_SECONDS`. If not set or 0, then the token will have a 7 day expiry. The query parameter has no impact for other kubeconfig types. Using an `sso` kubeconfig type requires `doctl` to be installed to handle the client side of the OAuth2 flow. Kubernetes Roles granted to a user are derived from that user's DigitalOcean role. Predefined roles (Owner, Member, Modifier etc.) have an automatic mapping to Kubernetes roles. Custom roles are not automatically mapped to any Kubernetes roles, and require [additional configuration](https://docs.digitalocean.com/products/kubernetes/how-to/set-up-custom-rolebindings/) by a cluster administrator.
认证
需要 Connected AccountScopes
kubernetes:access_clusterTags
Retrieve a Node Pool for a Kubernetes ClusterDIGITALOCEAN_KUBERNETES_GET_NODE_POOLTo show information about a specific node pool in a Kubernetes cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID`.需要连接1 scope
To show information about a specific node pool in a Kubernetes cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID`.
认证
需要 Connected AccountScopes
kubernetes:readTags
Fetch Status Messages for a Kubernetes ClusterDIGITALOCEAN_KUBERNETES_GET_STATUS_MESSAGESTo retrieve status messages for a Kubernetes cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/status_messages`. Status messages inform users of any issues that come up during the cluster lifecycle.需要连接1 scope
To retrieve status messages for a Kubernetes cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/status_messages`. Status messages inform users of any issues that come up during the cluster lifecycle.
认证
需要 Connected AccountScopes
kubernetes:readTags
List Associated Resources for Cluster DeletionDIGITALOCEAN_KUBERNETES_LIST_ASSOCIATED_RESOURCESTo list the associated billable resources that can be destroyed along with a cluster, send a GET request to the `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/destroy_with_associated_resources` endpoint.需要连接1 scope
To list the associated billable resources that can be destroyed along with a cluster, send a GET request to the `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/destroy_with_associated_resources` endpoint.
认证
需要 Connected AccountScopes
kubernetes:readTags
List All Kubernetes ClustersDIGITALOCEAN_KUBERNETES_LIST_CLUSTERSTo list all of the Kubernetes clusters on your account, send a GET request to `/v2/kubernetes/clusters`.需要连接1 scope
To list all of the Kubernetes clusters on your account, send a GET request to `/v2/kubernetes/clusters`.
认证
需要 Connected AccountScopes
kubernetes:readTags
List All Node Pools in a Kubernetes ClustersDIGITALOCEAN_KUBERNETES_LIST_NODE_POOLSTo list all of the node pools in a Kubernetes clusters, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools`.需要连接1 scope
To list all of the node pools in a Kubernetes clusters, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools`.
认证
需要 Connected AccountScopes
kubernetes:readTags
List Available Regions, Node Sizes, and Versions of KubernetesDIGITALOCEAN_KUBERNETES_LIST_OPTIONSTo list the versions of Kubernetes available for use, the regions that support Kubernetes, and the available node sizes, send a GET request to `/v2/kubernetes/options`.需要连接1 scope
To list the versions of Kubernetes available for use, the regions that support Kubernetes, and the available node sizes, send a GET request to `/v2/kubernetes/options`.
认证
需要 Connected AccountScopes
kubernetes:readTags
Recycle a Kubernetes Node PoolDIGITALOCEAN_KUBERNETES_RECYCLE_NODE_POOLThe endpoint has been deprecated. Please use the DELETE `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID/nodes/$NODE_ID` method instead.需要连接1 scope
The endpoint has been deprecated. Please use the DELETE `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID/nodes/$NODE_ID` method instead.
认证
需要 Connected AccountScopes
kubernetes:deleteTags
Remove Container Registries from Kubernetes ClustersDIGITALOCEAN_KUBERNETES_REMOVE_REGISTRIESTo remove the container registries from Kubernetes clusters, send a DELETE request to `/v2/kubernetes/registries`.需要连接1 scope
To remove the container registries from Kubernetes clusters, send a DELETE request to `/v2/kubernetes/registries`.
认证
需要 Connected AccountScopes
kubernetes:updateTags
Remove Container Registry from Kubernetes ClustersDIGITALOCEAN_KUBERNETES_REMOVE_REGISTRYTo remove the container registry from Kubernetes clusters, send a DELETE request to `/v2/kubernetes/registry`.需要连接1 scope
To remove the container registry from Kubernetes clusters, send a DELETE request to `/v2/kubernetes/registry`.
认证
需要 Connected AccountScopes
kubernetes:updateTags
Run Clusterlint Checks on a Kubernetes ClusterDIGITALOCEAN_KUBERNETES_RUN_CLUSTER_LINTClusterlint helps operators conform to Kubernetes best practices around resources, security and reliability to avoid common problems while operating or upgrading the clusters. To request a clusterlint run on your cluster, send a POST request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/clusterlint`. This will run all checks present in the `doks` group by default, if a request body is not specified. Optionally specify the below attributes. For information about the available checks, please refer to [the clusterlint check documentation](https://github.com/digitalocean/clusterlint/blob/master/checks.md).需要连接1 scope
Clusterlint helps operators conform to Kubernetes best practices around resources, security and reliability to avoid common problems while operating or upgrading the clusters. To request a clusterlint run on your cluster, send a POST request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/clusterlint`. This will run all checks present in the `doks` group by default, if a request body is not specified. Optionally specify the below attributes. For information about the available checks, please refer to [the clusterlint check documentation](https://github.com/digitalocean/clusterlint/blob/master/checks.md).
认证
需要 Connected AccountScopes
kubernetes:updateTags
Update a Kubernetes ClusterDIGITALOCEAN_KUBERNETES_UPDATE_CLUSTERTo update a Kubernetes cluster, send a PUT request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID` and specify one or more of the attributes below.需要连接1 scope
To update a Kubernetes cluster, send a PUT request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID` and specify one or more of the attributes below.
认证
需要 Connected AccountScopes
kubernetes:updateTags
Update a Node Pool in a Kubernetes ClusterDIGITALOCEAN_KUBERNETES_UPDATE_NODE_POOLTo update the name of a node pool, edit the tags applied to it, or adjust its number of nodes, send a PUT request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID` with the following attributes.需要连接1 scope
To update the name of a node pool, edit the tags applied to it, or adjust its number of nodes, send a PUT request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID` with the following attributes.
认证
需要 Connected AccountScopes
kubernetes:updateTags
Upgrade a Kubernetes ClusterDIGITALOCEAN_KUBERNETES_UPGRADE_CLUSTERTo immediately upgrade a Kubernetes cluster to a newer patch release of Kubernetes, send a POST request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/upgrade`. The body of the request must specify a version attribute. Available upgrade versions for a cluster can be fetched from `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/upgrades`.需要连接1 scope
To immediately upgrade a Kubernetes cluster to a newer patch release of Kubernetes, send a POST request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/upgrade`. The body of the request must specify a version attribute. Available upgrade versions for a cluster can be fetched from `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/upgrades`.
认证
需要 Connected AccountScopes
kubernetes:updateTags
Add Droplets to a Load BalancerDIGITALOCEAN_LOAD_BALANCERS_ADD_DROPLETSTo assign a Droplet to a load balancer instance, send a POST request to `/v2/load_balancers/$LOAD_BALANCER_ID/droplets`. In the body of the request, there should be a `droplet_ids` attribute containing a list of Droplet IDs. Individual Droplets can not be added to a load balancer configured with a Droplet tag. Attempting to do so will result in a "422 Unprocessable Entity" response from the API. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.需要连接1 scope
To assign a Droplet to a load balancer instance, send a POST request to `/v2/load_balancers/$LOAD_BALANCER_ID/droplets`. In the body of the request, there should be a `droplet_ids` attribute containing a list of Droplet IDs. Individual Droplets can not be added to a load balancer configured with a Droplet tag. Attempting to do so will result in a "422 Unprocessable Entity" response from the API. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
认证
需要 Connected AccountScopes
load_balancer:updateTags
Add Forwarding Rules to a Load BalancerDIGITALOCEAN_LOAD_BALANCERS_ADD_FORWARDING_RULESTo add an additional forwarding rule to a load balancer instance, send a POST request to `/v2/load_balancers/$LOAD_BALANCER_ID/forwarding_rules`. In the body of the request, there should be a `forwarding_rules` attribute containing an array of rules to be added. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.需要连接1 scope
To add an additional forwarding rule to a load balancer instance, send a POST request to `/v2/load_balancers/$LOAD_BALANCER_ID/forwarding_rules`. In the body of the request, there should be a `forwarding_rules` attribute containing an array of rules to be added. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
认证
需要 Connected AccountScopes
load_balancer:updateTags
Create a New Load BalancerDIGITALOCEAN_LOAD_BALANCERS_CREATETo create a new load balancer instance, send a POST request to `/v2/load_balancers`. You can specify the Droplets that will sit behind the load balancer using one of two methods: * Set `droplet_ids` to a list of specific Droplet IDs. * Set `tag` to the name of a tag. All Droplets with this tag applied will be assigned to the load balancer. Additional Droplets will be automatically assigned as they are tagged. These methods are mutually exclusive.需要连接1 scope
To create a new load balancer instance, send a POST request to `/v2/load_balancers`. You can specify the Droplets that will sit behind the load balancer using one of two methods: * Set `droplet_ids` to a list of specific Droplet IDs. * Set `tag` to the name of a tag. All Droplets with this tag applied will be assigned to the load balancer. Additional Droplets will be automatically assigned as they are tagged. These methods are mutually exclusive.
认证
需要 Connected AccountScopes
load_balancer:createTags
Delete a Load BalancerDIGITALOCEAN_LOAD_BALANCERS_DELETETo delete a load balancer instance, disassociating any Droplets assigned to it and removing it from your account, send a DELETE request to `/v2/load_balancers/$LOAD_BALANCER_ID`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.需要连接1 scope
To delete a load balancer instance, disassociating any Droplets assigned to it and removing it from your account, send a DELETE request to `/v2/load_balancers/$LOAD_BALANCER_ID`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.
认证
需要 Connected AccountScopes
load_balancer:deleteTags
Delete a Global Load Balancer CDN CacheDIGITALOCEAN_LOAD_BALANCERS_DELETE_CACHETo delete a Global load balancer CDN cache, send a DELETE request to `/v2/load_balancers/$LOAD_BALANCER_ID/cache`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.需要连接1 scope
To delete a Global load balancer CDN cache, send a DELETE request to `/v2/load_balancers/$LOAD_BALANCER_ID/cache`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.
认证
需要 Connected AccountScopes
load_balancer:deleteTags
Retrieve an Existing Load BalancerDIGITALOCEAN_LOAD_BALANCERS_GETTo show information about a load balancer instance, send a GET request to `/v2/load_balancers/$LOAD_BALANCER_ID`.需要连接1 scope
To show information about a load balancer instance, send a GET request to `/v2/load_balancers/$LOAD_BALANCER_ID`.
认证
需要 Connected AccountScopes
load_balancer:readTags
List All Load BalancersDIGITALOCEAN_LOAD_BALANCERS_LISTTo list all of the load balancer instances on your account, send a GET request to `/v2/load_balancers`.需要连接1 scope
To list all of the load balancer instances on your account, send a GET request to `/v2/load_balancers`.
认证
需要 Connected AccountScopes
load_balancer:readTags
Remove Droplets from a Load BalancerDIGITALOCEAN_LOAD_BALANCERS_REMOVE_DROPLETSTo remove a Droplet from a load balancer instance, send a DELETE request to `/v2/load_balancers/$LOAD_BALANCER_ID/droplets`. In the body of the request, there should be a `droplet_ids` attribute containing a list of Droplet IDs. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.需要连接1 scope
To remove a Droplet from a load balancer instance, send a DELETE request to `/v2/load_balancers/$LOAD_BALANCER_ID/droplets`. In the body of the request, there should be a `droplet_ids` attribute containing a list of Droplet IDs. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
认证
需要 Connected AccountScopes
load_balancer:updateTags
Remove Forwarding Rules from a Load BalancerDIGITALOCEAN_LOAD_BALANCERS_REMOVE_FORWARDING_RULESTo remove forwarding rules from a load balancer instance, send a DELETE request to `/v2/load_balancers/$LOAD_BALANCER_ID/forwarding_rules`. In the body of the request, there should be a `forwarding_rules` attribute containing an array of rules to be removed. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.需要连接1 scope
To remove forwarding rules from a load balancer instance, send a DELETE request to `/v2/load_balancers/$LOAD_BALANCER_ID/forwarding_rules`. In the body of the request, there should be a `forwarding_rules` attribute containing an array of rules to be removed. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
认证
需要 Connected AccountScopes
load_balancer:updateTags
Update a Load BalancerDIGITALOCEAN_LOAD_BALANCERS_UPDATETo update a load balancer's settings, send a PUT request to `/v2/load_balancers/$LOAD_BALANCER_ID`. The request should contain a full representation of the load balancer including existing attributes. It may contain _one of_ the `droplets_ids` or `tag` attributes as they are mutually exclusive. **Note that any attribute that is not provided will be reset to its default value.**需要连接1 scope
To update a load balancer's settings, send a PUT request to `/v2/load_balancers/$LOAD_BALANCER_ID`. The request should contain a full representation of the load balancer including existing attributes. It may contain _one of_ the `droplets_ids` or `tag` attributes as they are mutually exclusive. **Note that any attribute that is not provided will be reset to its default value.**
认证
需要 Connected AccountScopes
load_balancer:updateTags
Create Alert PolicyDIGITALOCEAN_MONITORING_CREATE_ALERT_POLICYTo create a new alert, send a POST request to `/v2/monitoring/alerts`.需要连接1 scope
To create a new alert, send a POST request to `/v2/monitoring/alerts`.
认证
需要 Connected AccountScopes
monitoring:createTags
Create Logging DestinationDIGITALOCEAN_MONITORING_CREATE_DESTINATIONTo create a new destination, send a POST request to `/v2/monitoring/sinks/destinations`.需要连接1 scope
To create a new destination, send a POST request to `/v2/monitoring/sinks/destinations`.
认证
需要 Connected AccountScopes
monitoring:createTags
Create SinkDIGITALOCEAN_MONITORING_CREATE_SINKTo create a new sink, send a POST request to `/v2/monitoring/sinks`. Forwards logs from the resources identified in `resources` to the specified pre-existing destination.需要连接1 scope
To create a new sink, send a POST request to `/v2/monitoring/sinks`. Forwards logs from the resources identified in `resources` to the specified pre-existing destination.
认证
需要 Connected AccountScopes
monitoring:createTags
Delete an Alert PolicyDIGITALOCEAN_MONITORING_DELETE_ALERT_POLICYTo delete an alert policy, send a DELETE request to `/v2/monitoring/alerts/{alert_uuid}`需要连接1 scope
To delete an alert policy, send a DELETE request to `/v2/monitoring/alerts/{alert_uuid}`
认证
需要 Connected AccountScopes
monitoring:deleteTags
Delete Logging DestinationDIGITALOCEAN_MONITORING_DELETE_DESTINATIONTo delete a destination and all associated sinks, send a DELETE request to `/v2/monitoring/sinks/destinations/${destination_uuid}`.需要连接1 scope
To delete a destination and all associated sinks, send a DELETE request to `/v2/monitoring/sinks/destinations/${destination_uuid}`.
认证
需要 Connected AccountScopes
monitoring:deleteTags
Delete SinkDIGITALOCEAN_MONITORING_DELETE_SINKTo delete a sink, send a DELETE request to `/v2/monitoring/sinks/${sink_uuid}`.需要连接1 scope
To delete a sink, send a DELETE request to `/v2/monitoring/sinks/${sink_uuid}`.
认证
需要 Connected AccountScopes
monitoring:deleteTags
Retrieve an Existing Alert PolicyDIGITALOCEAN_MONITORING_GET_ALERT_POLICYTo retrieve a given alert policy, send a GET request to `/v2/monitoring/alerts/{alert_uuid}`需要连接1 scope
To retrieve a given alert policy, send a GET request to `/v2/monitoring/alerts/{alert_uuid}`
认证
需要 Connected AccountScopes
monitoring:readTags
Get App CPU Percentage MetricsDIGITALOCEAN_MONITORING_GET_APP_CPUPERCENTAGE_METRICSTo retrieve cpu percentage metrics for a given app, send a GET request to `/v2/monitoring/metrics/apps/cpu_percentage`.需要连接1 scope
To retrieve cpu percentage metrics for a given app, send a GET request to `/v2/monitoring/metrics/apps/cpu_percentage`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get App Memory Percentage MetricsDIGITALOCEAN_MONITORING_GET_APP_MEMORY_PERCENTAGE_METRICSTo retrieve memory percentage metrics for a given app, send a GET request to `/v2/monitoring/metrics/apps/memory_percentage`.需要连接1 scope
To retrieve memory percentage metrics for a given app, send a GET request to `/v2/monitoring/metrics/apps/memory_percentage`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get App Restart Count MetricsDIGITALOCEAN_MONITORING_GET_APP_RESTART_COUNT_METRICS_YMLTo retrieve restart count metrics for a given app, send a GET request to `/v2/monitoring/metrics/apps/restart_count`.需要连接1 scope
To retrieve restart count metrics for a given app, send a GET request to `/v2/monitoring/metrics/apps/restart_count`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Database MySQL CPU Usage MetricsDIGITALOCEAN_MONITORING_GET_DATABASE_MYSQL_CPU_USAGERetrieve CPU usage (percent) for a MySQL cluster. Response is a time series of cluster-level CPU usage. Use **aggregate** to get avg, max, or min over the range.需要连接1 scope
Retrieve CPU usage (percent) for a MySQL cluster. Response is a time series of cluster-level CPU usage. Use **aggregate** to get avg, max, or min over the range.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Database MySQL Disk Usage MetricsDIGITALOCEAN_MONITORING_GET_DATABASE_MYSQL_DISK_USAGERetrieve disk usage (percent) for a MySQL cluster. Use **aggregate** (avg, max, or min) over the time range.需要连接1 scope
Retrieve disk usage (percent) for a MySQL cluster. Use **aggregate** (avg, max, or min) over the time range.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Database MySQL Index vs Sequential Reads MetricsDIGITALOCEAN_MONITORING_GET_DATABASE_MYSQL_INDEX_VS_SEQUENTIAL_READSRetrieve index vs sequential reads ratio (percent) for a MySQL service — i.e. percentage of reads using an index.需要连接1 scope
Retrieve index vs sequential reads ratio (percent) for a MySQL service — i.e. percentage of reads using an index.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Database MySQL Load Average MetricsDIGITALOCEAN_MONITORING_GET_DATABASE_MYSQL_LOADRetrieve load metrics for a MySQL cluster. Use **metric** for the window: **load1** (1-minute), **load5** (5-minute), or **load15** (15-minute). Use **aggregate** to get either the average (avg) or maximum (max) over that window over the time range.需要连接1 scope
Retrieve load metrics for a MySQL cluster. Use **metric** for the window: **load1** (1-minute), **load5** (5-minute), or **load15** (15-minute). Use **aggregate** to get either the average (avg) or maximum (max) over that window over the time range.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Database MySQL Memory Usage MetricsDIGITALOCEAN_MONITORING_GET_DATABASE_MYSQL_MEMORY_USAGERetrieve memory usage (percent) for a MySQL cluster. Use **aggregate** (avg, max, or min) over the time range.需要连接1 scope
Retrieve memory usage (percent) for a MySQL cluster. Use **aggregate** (avg, max, or min) over the time range.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Database MySQL Operations Throughput MetricsDIGITALOCEAN_MONITORING_GET_DATABASE_MYSQL_OP_RATESRetrieve operations rate (per second) for a MySQL service. Use **metric** to choose select, insert, update, or delete.需要连接1 scope
Retrieve operations rate (per second) for a MySQL service. Use **metric** to choose select, insert, update, or delete.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Database MySQL Schema Latency MetricsDIGITALOCEAN_MONITORING_GET_DATABASE_MYSQL_SCHEMA_LATENCYRetrieve table I/O latency (seconds) for a schema. Requires **schema** and **metric** (insert, fetch, update, delete).需要连接1 scope
Retrieve table I/O latency (seconds) for a schema. Requires **schema** and **metric** (insert, fetch, update, delete).
认证
需要 Connected AccountScopes
monitoring:readTags
Get Database MySQL Schema Throughput MetricsDIGITALOCEAN_MONITORING_GET_DATABASE_MYSQL_SCHEMA_THROUGHPUTRetrieve table I/O throughput (rows per second) for a schema. Requires **schema** and **metric** (insert, fetch, update, delete).需要连接1 scope
Retrieve table I/O throughput (rows per second) for a schema. Requires **schema** and **metric** (insert, fetch, update, delete).
认证
需要 Connected AccountScopes
monitoring:readTags
Get Database MySQL Threads Active MetricsDIGITALOCEAN_MONITORING_GET_DATABASE_MYSQL_THREADS_ACTIVERetrieve active (running) threads for a MySQL service.需要连接1 scope
Retrieve active (running) threads for a MySQL service.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Database MySQL Threads Connected MetricsDIGITALOCEAN_MONITORING_GET_DATABASE_MYSQL_THREADS_CONNECTEDRetrieve current threads connected for a MySQL service (gauge).需要连接1 scope
Retrieve current threads connected for a MySQL service (gauge).
认证
需要 Connected AccountScopes
monitoring:readTags
Get Database MySQL Threads Created Rate MetricsDIGITALOCEAN_MONITORING_GET_DATABASE_MYSQL_THREADS_CREATED_RATERetrieve threads created rate for a MySQL service (per second).需要连接1 scope
Retrieve threads created rate for a MySQL service (per second).
认证
需要 Connected AccountScopes
monitoring:readTags
Get Logging DestinationDIGITALOCEAN_MONITORING_GET_DESTINATIONTo get the details of a destination, send a GET request to `/v2/monitoring/sinks/destinations/${destination_uuid}`.需要连接1 scope
To get the details of a destination, send a GET request to `/v2/monitoring/sinks/destinations/${destination_uuid}`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Autoscale Pool Current Average CPU utilizationDIGITALOCEAN_MONITORING_GET_DROPLET_AUTOSCALE_CURRENT_CPU_UTILIZATION_YMLTo retrieve the current average CPU utilization for a given Droplet Autoscale Pool, send a GET request to `/v2/monitoring/metrics/droplet_autoscale/current_cpu_utilization`.需要连接1 scope
To retrieve the current average CPU utilization for a given Droplet Autoscale Pool, send a GET request to `/v2/monitoring/metrics/droplet_autoscale/current_cpu_utilization`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Autoscale Pool Current SizeDIGITALOCEAN_MONITORING_GET_DROPLET_AUTOSCALE_CURRENT_INSTANCESTo retrieve the current size for a given Droplet Autoscale Pool, send a GET request to `/v2/monitoring/metrics/droplet_autoscale/current_instances`.需要连接1 scope
To retrieve the current size for a given Droplet Autoscale Pool, send a GET request to `/v2/monitoring/metrics/droplet_autoscale/current_instances`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Autoscale Pool Current Average Memory utilizationDIGITALOCEAN_MONITORING_GET_DROPLET_AUTOSCALE_CURRENT_MEMORY_UTILIZATIONTo retrieve the current average memory utilization for a given Droplet Autoscale Pool, send a GET request to `/v2/monitoring/metrics/droplet_autoscale/current_memory_utilization`.需要连接1 scope
To retrieve the current average memory utilization for a given Droplet Autoscale Pool, send a GET request to `/v2/monitoring/metrics/droplet_autoscale/current_memory_utilization`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Autoscale Pool Target Average CPU utilizationDIGITALOCEAN_MONITORING_GET_DROPLET_AUTOSCALE_TARGET_CPU_UTILIZATIONTo retrieve the target average CPU utilization for a given Droplet Autoscale Pool, send a GET request to `/v2/monitoring/metrics/droplet_autoscale/target_cpu_utilization`.需要连接1 scope
To retrieve the target average CPU utilization for a given Droplet Autoscale Pool, send a GET request to `/v2/monitoring/metrics/droplet_autoscale/target_cpu_utilization`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Autoscale Pool Target SizeDIGITALOCEAN_MONITORING_GET_DROPLET_AUTOSCALE_TARGET_INSTANCESTo retrieve the target size for a given Droplet Autoscale Pool, send a GET request to `/v2/monitoring/metrics/droplet_autoscale/target_instances`.需要连接1 scope
To retrieve the target size for a given Droplet Autoscale Pool, send a GET request to `/v2/monitoring/metrics/droplet_autoscale/target_instances`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Autoscale Pool Target Average Memory utilizationDIGITALOCEAN_MONITORING_GET_DROPLET_AUTOSCALE_TARGET_MEMORY_UTILIZATIONTo retrieve the target average memory utilization for a given Droplet Autoscale Pool, send a GET request to `/v2/monitoring/metrics/droplet_autoscale/target_memory_utilization`.需要连接1 scope
To retrieve the target average memory utilization for a given Droplet Autoscale Pool, send a GET request to `/v2/monitoring/metrics/droplet_autoscale/target_memory_utilization`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Bandwidth MetricsDIGITALOCEAN_MONITORING_GET_DROPLET_BANDWIDTH_METRICSTo retrieve bandwidth metrics for a given Droplet, send a GET request to `/v2/monitoring/metrics/droplet/bandwidth`. Use the `interface` query parameter to specify if the results should be for the `private` or `public` interface. Use the `direction` query parameter to specify if the results should be for `inbound` or `outbound` traffic. The metrics in the response body are in megabits per second (Mbps).需要连接1 scope
To retrieve bandwidth metrics for a given Droplet, send a GET request to `/v2/monitoring/metrics/droplet/bandwidth`. Use the `interface` query parameter to specify if the results should be for the `private` or `public` interface. Use the `direction` query parameter to specify if the results should be for `inbound` or `outbound` traffic. The metrics in the response body are in megabits per second (Mbps).
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet CPU MetricsDIGITALOCEAN_MONITORING_GET_DROPLET_CPU_METRICSTo retrieve CPU metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/cpu`.需要连接1 scope
To retrieve CPU metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/cpu`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Filesystem Free MetricsDIGITALOCEAN_MONITORING_GET_DROPLET_FILESYSTEM_FREE_METRICSTo retrieve filesystem free metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/filesystem_free`.需要连接1 scope
To retrieve filesystem free metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/filesystem_free`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Filesystem Size MetricsDIGITALOCEAN_MONITORING_GET_DROPLET_FILESYSTEM_SIZE_METRICSTo retrieve filesystem size metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/filesystem_size`.需要连接1 scope
To retrieve filesystem size metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/filesystem_size`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Load1 MetricsDIGITALOCEAN_MONITORING_GET_DROPLET_LOAD1_METRICSTo retrieve 1 minute load average metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/load_1`.需要连接1 scope
To retrieve 1 minute load average metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/load_1`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Load15 MetricsDIGITALOCEAN_MONITORING_GET_DROPLET_LOAD15_METRICSTo retrieve 15 minute load average metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/load_15`.需要连接1 scope
To retrieve 15 minute load average metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/load_15`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Load5 MetricsDIGITALOCEAN_MONITORING_GET_DROPLET_LOAD5_METRICSTo retrieve 5 minute load average metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/load_5`.需要连接1 scope
To retrieve 5 minute load average metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/load_5`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Available Memory MetricsDIGITALOCEAN_MONITORING_GET_DROPLET_MEMORY_AVAILABLE_METRICSTo retrieve available memory metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/memory_available`.需要连接1 scope
To retrieve available memory metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/memory_available`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Cached Memory MetricsDIGITALOCEAN_MONITORING_GET_DROPLET_MEMORY_CACHED_METRICSTo retrieve cached memory metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/memory_cached`.需要连接1 scope
To retrieve cached memory metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/memory_cached`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Free Memory MetricsDIGITALOCEAN_MONITORING_GET_DROPLET_MEMORY_FREE_METRICSTo retrieve free memory metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/memory_free`.需要连接1 scope
To retrieve free memory metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/memory_free`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Droplet Total Memory MetricsDIGITALOCEAN_MONITORING_GET_DROPLET_MEMORY_TOTAL_METRICSTo retrieve total memory metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/memory_total`.需要连接1 scope
To retrieve total memory metrics for a given droplet, send a GET request to `/v2/monitoring/metrics/droplet/memory_total`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Droplets Active Connections MetricsDIGITALOCEAN_MONITORING_GET_LB_DROPLETS_CONNECTIONSTo retrieve Droplets active connections for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_connections`.需要连接1 scope
To retrieve Droplets active connections for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_connections`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Droplets Downtime Status MetricsDIGITALOCEAN_MONITORING_GET_LB_DROPLETS_DOWNTIMETo retrieve Droplets downtime status for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_downtime`.需要连接1 scope
To retrieve Droplets downtime status for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_downtime`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Droplets Health Check Status MetricsDIGITALOCEAN_MONITORING_GET_LB_DROPLETS_HEALTH_CHECKSTo retrieve Droplets health check status for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_health_checks`.需要连接1 scope
To retrieve Droplets health check status for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_health_checks`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Droplets 50th Percentile HTTP Response Time MetricsDIGITALOCEAN_MONITORING_GET_LB_DROPLETS_HTTP_RESPONSE_TIME_50PTo retrieve Droplets 50th percentile HTTP response time in seconds for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_response_time_50p`.需要连接1 scope
To retrieve Droplets 50th percentile HTTP response time in seconds for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_response_time_50p`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Droplets 95th Percentile HTTP Response Time MetricsDIGITALOCEAN_MONITORING_GET_LB_DROPLETS_HTTP_RESPONSE_TIME_95PTo retrieve Droplets 95th percentile HTTP response time in seconds for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_response_time_95p`.需要连接1 scope
To retrieve Droplets 95th percentile HTTP response time in seconds for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_response_time_95p`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Droplets 99th Percentile HTTP Response Time MetricsDIGITALOCEAN_MONITORING_GET_LB_DROPLETS_HTTP_RESPONSE_TIME_99PTo retrieve Droplets 99th percentile HTTP response time in seconds for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_response_time_99p`.需要连接1 scope
To retrieve Droplets 99th percentile HTTP response time in seconds for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_response_time_99p`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Droplets Average HTTP Response Time MetricsDIGITALOCEAN_MONITORING_GET_LB_DROPLETS_HTTP_RESPONSE_TIME_AVGTo retrieve Droplets average HTTP response time in seconds for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_response_time_avg`.需要连接1 scope
To retrieve Droplets average HTTP response time in seconds for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_response_time_avg`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Droplets HTTP Rate Of Response Code MetricsDIGITALOCEAN_MONITORING_GET_LB_DROPLETS_HTTP_RESPONSESTo retrieve Droplets HTTP rate of response code for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_responses`.需要连接1 scope
To retrieve Droplets HTTP rate of response code for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_responses`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Droplets 50th Percentile HTTP Session Duration MetricsDIGITALOCEAN_MONITORING_GET_LB_DROPLETS_HTTP_SESSION_DURATION_50PTo retrieve Droplets 50th percentile HTTP session duration in seconds for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_session_duration_50p`.需要连接1 scope
To retrieve Droplets 50th percentile HTTP session duration in seconds for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_session_duration_50p`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Droplets 95th Percentile HTTP Session Duration MetricsDIGITALOCEAN_MONITORING_GET_LB_DROPLETS_HTTP_SESSION_DURATION_95PTo retrieve Droplets 95th percentile HTTP session duration in seconds for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_session_duration_95p`.需要连接1 scope
To retrieve Droplets 95th percentile HTTP session duration in seconds for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_session_duration_95p`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Droplets Average HTTP Session Duration MetricsDIGITALOCEAN_MONITORING_GET_LB_DROPLETS_HTTP_SESSION_DURATION_AVGTo retrieve Droplets average HTTP session duration in seconds for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_session_duration_avg`.需要连接1 scope
To retrieve Droplets average HTTP session duration in seconds for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_http_session_duration_avg`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Droplets Queue Size MetricsDIGITALOCEAN_MONITORING_GET_LB_DROPLETS_QUEUE_SIZETo retrieve Droplets queue size for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_queue_size`.需要连接1 scope
To retrieve Droplets queue size for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/droplets_queue_size`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Frontend Total Current Active Connections MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_CONNECTIONS_CURRENTTo retrieve frontend total current active connections for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_connections_current`.需要连接1 scope
To retrieve frontend total current active connections for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_connections_current`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Frontend Max Connections Limit MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_CONNECTIONS_LIMITTo retrieve frontend max connections limit for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_connections_limit`.需要连接1 scope
To retrieve frontend max connections limit for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_connections_limit`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Frontend Average Percentage CPU Utilization MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_CPU_UTILIZATIONTo retrieve frontend average percentage CPU utilization for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_cpu_utilization`.需要连接1 scope
To retrieve frontend average percentage CPU utilization for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_cpu_utilization`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Frontend Firewall Dropped Bytes MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_FIREWALL_DROPPED_BYTESTo retrieve firewall dropped bytes for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_firewall_dropped_bytes`. This is currently only supported for network load balancers.需要连接1 scope
To retrieve firewall dropped bytes for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_firewall_dropped_bytes`. This is currently only supported for network load balancers.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Frontend Firewall Dropped Packets MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_FIREWALL_DROPPED_PACKETSTo retrieve firewall dropped packets per second for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_firewall_dropped_packets`. This is currently only supported for network load balancers.需要连接1 scope
To retrieve firewall dropped packets per second for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_firewall_dropped_packets`. This is currently only supported for network load balancers.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Frontend HTTP Requests MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_HTTP_REQUESTS_PER_SECONDTo retrieve frontend HTTP requests per second for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_http_requests_per_second`.需要连接1 scope
To retrieve frontend HTTP requests per second for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_http_requests_per_second`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Frontend HTTP Rate Of Response Code MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_HTTP_RESPONSESTo retrieve frontend HTTP rate of response code for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_http_responses`.需要连接1 scope
To retrieve frontend HTTP rate of response code for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_http_responses`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Frontend HTTP Throughput MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_NETWORK_THROUGHPUT_HTTPTo retrieve frontend HTTP throughput in bytes per second for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_network_throughput_http`.需要连接1 scope
To retrieve frontend HTTP throughput in bytes per second for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_network_throughput_http`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Frontend TCP Throughput MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_NETWORK_THROUGHPUT_TCPTo retrieve frontend TCP throughput in bytes per second for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_network_throughput_tcp`.需要连接1 scope
To retrieve frontend TCP throughput in bytes per second for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_network_throughput_tcp`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Frontend UDP Throughput MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_NETWORK_THROUGHPUT_UDPTo retrieve frontend UDP throughput in bytes per second for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_network_throughput_udp`.需要连接1 scope
To retrieve frontend UDP throughput in bytes per second for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_network_throughput_udp`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Network Load Balancer Frontend TCP Throughput MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_NLB_TCP_NETWORK_THROUGHPUTTo retrieve frontend TCP throughput in bytes per second for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_nlb_tcp_network_throughput`.需要连接1 scope
To retrieve frontend TCP throughput in bytes per second for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_nlb_tcp_network_throughput`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Network Load Balancer Frontend UDP Throughput MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_NLB_UDP_NETWORK_THROUGHPUTTo retrieve frontend UDP throughput in bytes per second for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_nlb_udp_network_throughput`.需要连接1 scope
To retrieve frontend UDP throughput in bytes per second for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_nlb_udp_network_throughput`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Frontend Current TLS Connections Rate MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_TLS_CONNECTIONS_CURRENTTo retrieve frontend current TLS connections rate for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_tls_connections_current`.需要连接1 scope
To retrieve frontend current TLS connections rate for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_tls_connections_current`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Frontend Closed TLS Connections For Exceeded Rate Limit MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_TLS_CONNECTIONS_EXCEEDING_RATE_LIMITTo retrieve frontend closed TLS connections for exceeded rate limit for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_tls_connections_exceeding_rate_limit`.需要连接1 scope
To retrieve frontend closed TLS connections for exceeded rate limit for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_tls_connections_exceeding_rate_limit`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get Load Balancer Frontend Max TLS Connections Limit MetricsDIGITALOCEAN_MONITORING_GET_LB_FRONTEND_TLS_CONNECTIONS_LIMITTo retrieve frontend max TLS connections limit for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_tls_connections_limit`.需要连接1 scope
To retrieve frontend max TLS connections limit for a given load balancer, send a GET request to `/v2/monitoring/metrics/load_balancer/frontend_tls_connections_limit`.
认证
需要 Connected AccountScopes
monitoring:readTags
Get SinkDIGITALOCEAN_MONITORING_GET_SINKTo get the details of a sink (resources and destination), send a GET request to `/v2/monitoring/sinks/${sink_uuid}`.需要连接1 scope
To get the details of a sink (resources and destination), send a GET request to `/v2/monitoring/sinks/${sink_uuid}`.
认证
需要 Connected AccountScopes
monitoring:readTags
List Alert PoliciesDIGITALOCEAN_MONITORING_LIST_ALERT_POLICYReturns all alert policies that are configured for the given account. To List all alert policies, send a GET request to `/v2/monitoring/alerts`.需要连接1 scope
Returns all alert policies that are configured for the given account. To List all alert policies, send a GET request to `/v2/monitoring/alerts`.
认证
需要 Connected AccountScopes
monitoring:readTags
List Logging DestinationsDIGITALOCEAN_MONITORING_LIST_DESTINATIONSTo list all logging destinations, send a GET request to `/v2/monitoring/sinks/destinations`.需要连接1 scope
To list all logging destinations, send a GET request to `/v2/monitoring/sinks/destinations`.
认证
需要 Connected AccountScopes
monitoring:readTags
Lists all sinksDIGITALOCEAN_MONITORING_LIST_SINKSTo list all sinks, send a GET request to `/v2/monitoring/sinks`.需要连接1 scope
To list all sinks, send a GET request to `/v2/monitoring/sinks`.
认证
需要 Connected AccountScopes
monitoring:readTags
Update an Alert PolicyDIGITALOCEAN_MONITORING_UPDATE_ALERT_POLICYTo update en existing policy, send a PUT request to `v2/monitoring/alerts/{alert_uuid}`.需要连接1 scope
To update en existing policy, send a PUT request to `v2/monitoring/alerts/{alert_uuid}`.
认证
需要 Connected AccountScopes
monitoring:updateTags
Update Logging DestinationDIGITALOCEAN_MONITORING_UPDATE_DESTINATIONTo update the details of a destination, send a PATCH request to `/v2/monitoring/sinks/destinations/${destination_uuid}`.需要连接1 scope
To update the details of a destination, send a PATCH request to `/v2/monitoring/sinks/destinations/${destination_uuid}`.
认证
需要 Connected AccountScopes
monitoring:updateTags
Create a new NFS shareDIGITALOCEAN_NFS_CREATETo create a new NFS share, send a POST request to `/v2/nfs`.需要连接1 scope
To create a new NFS share, send a POST request to `/v2/nfs`.
认证
需要 Connected AccountScopes
nfs:createTags
Create an NFS access pointDIGITALOCEAN_NFS_CREATE_ACCESS_POINTTo create a new access point on an NFS share, send a POST request to `/v2/nfs/shares/{share_id}/access_points`. A successful request will return the newly created access point and an action object. The parent share must be in `ACTIVE` or `INACTIVE` status. Validation failures and precondition errors (such as an ineligible share state) return `400 Bad Request`. Duplicate name or path conflicts return `409 Conflict`.需要连接1 scope
To create a new access point on an NFS share, send a POST request to `/v2/nfs/shares/{share_id}/access_points`. A successful request will return the newly created access point and an action object. The parent share must be in `ACTIVE` or `INACTIVE` status. Validation failures and precondition errors (such as an ineligible share state) return `400 Bad Request`. Duplicate name or path conflicts return `409 Conflict`.
认证
需要 Connected AccountScopes
nfs:createTags
Initiate an NFS actionDIGITALOCEAN_NFS_CREATE_ACTIONTo execute an action (such as resize) on a specified NFS share, send a POST request to `/v2/nfs/{nfs_id}/actions`. In the JSON body to the request, set the `type` attribute to on of the supported action types: | Action | Details | | -------------------------------- | ----------- | | <nobr>`resize`</nobr> | Resizes an NFS share. Set the size_gib attribute to a desired value in GiB | | <nobr>`snapshot`</nobr> | Takes a snapshot of an NFS share | | <nobr>`attach`</nobr> | Attaches an NFS share to a VPC. Set the vpc_id attribute to the desired VPC ID | | <nobr>`detach`</nobr> | Detaches an NFS share from a VPC. Set the vpc_id attribute to the desired VPC ID | | <nobr>`reassign`</nobr> | Reassigns an NFS share from one VPC to another. Set the old_vpc_id and new_vpc_id attributes to the desired VPC IDs | | <nobr>`switch_performance_tier`</nobr> | Switches the performance tier of an NFS share. Set the performance_tier attribute to the desired tier (e.g., standard, high) |需要连接1 scope
To execute an action (such as resize) on a specified NFS share, send a POST request to `/v2/nfs/{nfs_id}/actions`. In the JSON body to the request, set the `type` attribute to on of the supported action types: | Action | Details | | -------------------------------- | ----------- | | <nobr>`resize`</nobr> | Resizes an NFS share. Set the size_gib attribute to a desired value in GiB | | <nobr>`snapshot`</nobr> | Takes a snapshot of an NFS share | | <nobr>`attach`</nobr> | Attaches an NFS share to a VPC. Set the vpc_id attribute to the desired VPC ID | | <nobr>`detach`</nobr> | Detaches an NFS share from a VPC. Set the vpc_id attribute to the desired VPC ID | | <nobr>`reassign`</nobr> | Reassigns an NFS share from one VPC to another. Set the old_vpc_id and new_vpc_id attributes to the desired VPC IDs | | <nobr>`switch_performance_tier`</nobr> | Switches the performance tier of an NFS share. Set the performance_tier attribute to the desired tier (e.g., standard, high) |
认证
需要 Connected AccountScopes
nfs:createTags
Delete an NFS shareDIGITALOCEAN_NFS_DELETETo delete an NFS share, send a DELETE request to `/v2/nfs/{nfs_id}?region=${region}`. A successful request will return a `204 No Content` status code.需要连接1 scope
To delete an NFS share, send a DELETE request to `/v2/nfs/{nfs_id}?region=${region}`. A successful request will return a `204 No Content` status code.
认证
需要 Connected AccountScopes
nfs:deleteTags
Delete an NFS access pointDIGITALOCEAN_NFS_DELETE_ACCESS_POINTTo delete an NFS access point, send a DELETE request to `/v2/nfs/access_points/{access_point_id}`. A successful request will soft-delete the access point and return the deleted access point with status `ACCESS_POINT_DELETED` and an action object indicating the delete operation. The default access point (`is_default: true`) cannot be deleted. Access points already in `ACCESS_POINT_DELETED` or `ACCESS_POINT_FAILED` status return `400 Bad Request`.需要连接1 scope
To delete an NFS access point, send a DELETE request to `/v2/nfs/access_points/{access_point_id}`. A successful request will soft-delete the access point and return the deleted access point with status `ACCESS_POINT_DELETED` and an action object indicating the delete operation. The default access point (`is_default: true`) cannot be deleted. Access points already in `ACCESS_POINT_DELETED` or `ACCESS_POINT_FAILED` status return `400 Bad Request`.
认证
需要 Connected AccountScopes
nfs:deleteTags
Delete an NFS snapshotDIGITALOCEAN_NFS_DELETE_SNAPSHOTTo delete an NFS snapshot, send a DELETE request to `/v2/nfs/snapshots/{nfs_snapshot_id}?region=${region}`. A successful request will return a `204 No Content` status code.需要连接1 scope
To delete an NFS snapshot, send a DELETE request to `/v2/nfs/snapshots/{nfs_snapshot_id}?region=${region}`. A successful request will return a `204 No Content` status code.
认证
需要 Connected AccountScopes
nfs:deleteTags
Get an NFS shareDIGITALOCEAN_NFS_GETTo get an NFS share, send a GET request to `/v2/nfs/{nfs_id}?region=${region}`. A successful request will return the NFS share.需要连接1 scope
To get an NFS share, send a GET request to `/v2/nfs/{nfs_id}?region=${region}`. A successful request will return the NFS share.
认证
需要 Connected AccountScopes
nfs:readTags
Get an NFS access pointDIGITALOCEAN_NFS_GET_ACCESS_POINTTo get an NFS access point, send a GET request to `/v2/nfs/access_points/{access_point_id}`. A successful request will return the NFS access point.需要连接1 scope
To get an NFS access point, send a GET request to `/v2/nfs/access_points/{access_point_id}`. A successful request will return the NFS access point.
认证
需要 Connected AccountScopes
nfs:readTags
Get an NFS snapshot by IDDIGITALOCEAN_NFS_GET_SNAPSHOTTo get an NFS snapshot, send a GET request to `/v2/nfs/snapshots/{nfs_snapshot_id}?region=${region}`. A successful request will return the NFS snapshot.需要连接1 scope
To get an NFS snapshot, send a GET request to `/v2/nfs/snapshots/{nfs_snapshot_id}?region=${region}`. A successful request will return the NFS snapshot.
认证
需要 Connected AccountScopes
nfs:readTags
List NFS shares per regionDIGITALOCEAN_NFS_LISTTo list NFS shares, send a GET request to `/v2/nfs?region=${region}`. A successful request will return all NFS shares belonging to the authenticated user.需要连接1 scope
To list NFS shares, send a GET request to `/v2/nfs?region=${region}`. A successful request will return all NFS shares belonging to the authenticated user.
认证
需要 Connected AccountScopes
nfs:listTags
List NFS access points for a shareDIGITALOCEAN_NFS_LIST_ACCESS_POINTSTo list access points for an NFS share, send a GET request to `/v2/nfs/shares/{share_id}/access_points`. You may use query parameters to filter by status. A successful request will return a list of NFS access points ordered with the default access point first, then by `created_at` ascending.需要连接1 scope
To list access points for an NFS share, send a GET request to `/v2/nfs/shares/{share_id}/access_points`. You may use query parameters to filter by status. A successful request will return a list of NFS access points ordered with the default access point first, then by `created_at` ascending.
认证
需要 Connected AccountScopes
nfs:listTags
List NFS snapshots per regionDIGITALOCEAN_NFS_LIST_SNAPSHOTTo list all NFS snapshots, send a GET request to `/v2/nfs/snapshots?region=${region}&share_id={share_id}`. A successful request will return all NFS snapshots belonging to the authenticated user in the specified region. Optionally, you can filter snapshots by a specific NFS share by including the `share_id` query parameter.需要连接1 scope
To list all NFS snapshots, send a GET request to `/v2/nfs/snapshots?region=${region}&share_id={share_id}`. A successful request will return all NFS snapshots belonging to the authenticated user in the specified region. Optionally, you can filter snapshots by a specific NFS share by including the `share_id` query parameter.
认证
需要 Connected AccountScopes
nfs:listTags
Install Kubernetes 1-Click ApplicationsDIGITALOCEAN_ONE_CLICKS_INSTALL_KUBERNETESTo install a Kubernetes 1-Click application on a cluster, send a POST request to `/v2/1-clicks/kubernetes`. The `addon_slugs` and `cluster_uuid` must be provided as body parameter in order to specify which 1-Click application(s) to install. To list all available 1-Click Kubernetes applications, send a request to `/v2/1-clicks?type=kubernetes`.需要连接2 scopes
To install a Kubernetes 1-Click application on a cluster, send a POST request to `/v2/1-clicks/kubernetes`. The `addon_slugs` and `cluster_uuid` must be provided as body parameter in order to specify which 1-Click application(s) to install. To list all available 1-Click Kubernetes applications, send a request to `/v2/1-clicks?type=kubernetes`.
认证
需要 Connected AccountScopes
kubernetes:updateaddon:createTags
List 1-Click ApplicationsDIGITALOCEAN_ONE_CLICKS_LISTTo list all available 1-Click applications, send a GET request to `/v2/1-clicks`. The `type` may be provided as query paramater in order to restrict results to a certain type of 1-Click, for example: `/v2/1-clicks?type=droplet`. Current supported types are `kubernetes` and `droplet`. The response will be a JSON object with a key called `1_clicks`. This will be set to an array of 1-Click application data, each of which will contain the the slug and type for the 1-Click.需要连接
To list all available 1-Click applications, send a GET request to `/v2/1-clicks`. The `type` may be provided as query paramater in order to restrict results to a certain type of 1-Click, for example: `/v2/1-clicks?type=droplet`. Current supported types are `kubernetes` and `droplet`. The response will be a JSON object with a key called `1_clicks`. This will be set to an array of 1-Click application data, each of which will contain the the slug and type for the 1-Click.
认证
需要 Connected AccountTags
Create a new partner attachmentDIGITALOCEAN_PARTNER_ATTACHMENTS_CREATETo create a new partner attachment, send a `POST` request to `/v2/partner_network_connect/attachments` with a JSON object containing the required configuration details.需要连接1 scope
To create a new partner attachment, send a `POST` request to `/v2/partner_network_connect/attachments` with a JSON object containing the required configuration details.
认证
需要 Connected AccountScopes
partner_network_connect:createTags
Regenerate the service key for the partner attachmentDIGITALOCEAN_PARTNER_ATTACHMENTS_CREATE_SERVICE_KEYThis operation generates a new service key for the specified partner attachment. The operation is asynchronous, and the response is an empty JSON object returned with a 202 status code. To poll for the new service key, send a `GET` request to `/v2/partner_network_connect/attachments/{pa_id}/service_key`.需要连接1 scope
This operation generates a new service key for the specified partner attachment. The operation is asynchronous, and the response is an empty JSON object returned with a 202 status code. To poll for the new service key, send a `GET` request to `/v2/partner_network_connect/attachments/{pa_id}/service_key`.
认证
需要 Connected AccountScopes
partner_network_connect:writeTags
Delete an existing partner attachmentDIGITALOCEAN_PARTNER_ATTACHMENTS_DELETETo delete an existing partner attachment, send a `DELETE` request to `/v2/partner_network_connect/attachments/{pa_id}`.需要连接1 scope
To delete an existing partner attachment, send a `DELETE` request to `/v2/partner_network_connect/attachments/{pa_id}`.
认证
需要 Connected AccountScopes
partner_network_connect:readTags
Retrieve an existing partner attachmentDIGITALOCEAN_PARTNER_ATTACHMENTS_GETTo get the details of a partner attachment, send a `GET` request to `/v2/partner_network_connect/attachments/{pa_id}`.需要连接1 scope
To get the details of a partner attachment, send a `GET` request to `/v2/partner_network_connect/attachments/{pa_id}`.
认证
需要 Connected AccountScopes
partner_network_connect:readTags
Get current BGP auth key for the partner attachmentDIGITALOCEAN_PARTNER_ATTACHMENTS_GET_BGP_AUTH_KEYTo get the current BGP auth key for a partner attachment, send a `GET` request to `/v2/partner_network_connect/attachments/{pa_id}/bgp_auth_key`.需要连接1 scope
To get the current BGP auth key for a partner attachment, send a `GET` request to `/v2/partner_network_connect/attachments/{pa_id}/bgp_auth_key`.
认证
需要 Connected AccountScopes
partner_network_connect:readTags
Get the current service key for the partner attachmentDIGITALOCEAN_PARTNER_ATTACHMENTS_GET_SERVICE_KEYTo get the current service key for a partner attachment, send a `GET` request to `/v2/partner_network_connect/attachments/{pa_id}/service_key`.需要连接1 scope
To get the current service key for a partner attachment, send a `GET` request to `/v2/partner_network_connect/attachments/{pa_id}/service_key`.
认证
需要 Connected AccountScopes
partner_network_connect:readTags
List all partner attachmentsDIGITALOCEAN_PARTNER_ATTACHMENTS_LISTTo list all of the Partner Attachments on your account, send a `GET` request to `/v2/partner_network_connect/attachments`.需要连接1 scope
To list all of the Partner Attachments on your account, send a `GET` request to `/v2/partner_network_connect/attachments`.
认证
需要 Connected AccountScopes
partner_network_connect:readTags
List remote routes for a partner attachmentDIGITALOCEAN_PARTNER_ATTACHMENTS_LIST_REMOTE_ROUTESTo list all remote routes associated with a partner attachment, send a `GET` request to `/v2/partner_network_connect/attachments/{pa_id}/remote_routes`.需要连接1 scope
To list all remote routes associated with a partner attachment, send a `GET` request to `/v2/partner_network_connect/attachments/{pa_id}/remote_routes`.
认证
需要 Connected AccountScopes
partner_network_connect:readTags
Update an existing partner attachmentDIGITALOCEAN_PARTNER_ATTACHMENTS_PATCHTo update an existing partner attachment, send a `PATCH` request to `/v2/partner_network_connect/attachments/{pa_id}` with a JSON object containing the fields to be updated.需要连接1 scope
To update an existing partner attachment, send a `PATCH` request to `/v2/partner_network_connect/attachments/{pa_id}` with a JSON object containing the fields to be updated.
认证
需要 Connected AccountScopes
partner_network_connect:readTags
Assign Resources to a ProjectDIGITALOCEAN_PROJECTS_ASSIGN_RESOURCESTo assign resources to a project, send a POST request to `/v2/projects/$PROJECT_ID/resources`. You must have both `project:assign_resource` and `<resource>:read` scopes to assign new resources. For example, to assign a Droplet to a project, include both the `project:assign_resource` and `droplet:read` scopes. The `project:update` scope also grants `project:assign_resource`.需要连接1 scope
To assign resources to a project, send a POST request to `/v2/projects/$PROJECT_ID/resources`. You must have both `project:assign_resource` and `<resource>:read` scopes to assign new resources. For example, to assign a Droplet to a project, include both the `project:assign_resource` and `droplet:read` scopes. The `project:update` scope also grants `project:assign_resource`.
认证
需要 Connected AccountScopes
project:assign_resourceTags
Assign Resources to Default ProjectDIGITALOCEAN_PROJECTS_ASSIGN_RESOURCES_DEFAULTTo assign resources to your default project, send a POST request to `/v2/projects/default/resources`. You must have both `project:assign_resource` and `<resource>:read` scopes to assign new resources. For example, to assign a Droplet to the default project, include both the `project:assign_resource` and `droplet:read` scopes. The `project:update` scope also grants `project:assign_resource`.需要连接1 scope
To assign resources to your default project, send a POST request to `/v2/projects/default/resources`. You must have both `project:assign_resource` and `<resource>:read` scopes to assign new resources. For example, to assign a Droplet to the default project, include both the `project:assign_resource` and `droplet:read` scopes. The `project:update` scope also grants `project:assign_resource`.
认证
需要 Connected AccountScopes
project:assign_resourceTags
Create a ProjectDIGITALOCEAN_PROJECTS_CREATETo create a project, send a POST request to `/v2/projects`.需要连接1 scope
To create a project, send a POST request to `/v2/projects`.
认证
需要 Connected AccountScopes
project:createTags
Delete an Existing ProjectDIGITALOCEAN_PROJECTS_DELETETo delete a project, send a DELETE request to `/v2/projects/$PROJECT_ID`. To be deleted, a project must not have any resources assigned to it. Any existing resources must first be reassigned or destroyed, or you will receive a 412 error. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.需要连接1 scope
To delete a project, send a DELETE request to `/v2/projects/$PROJECT_ID`. To be deleted, a project must not have any resources assigned to it. Any existing resources must first be reassigned or destroyed, or you will receive a 412 error. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.
认证
需要 Connected AccountScopes
project:deleteTags
Retrieve an Existing ProjectDIGITALOCEAN_PROJECTS_GETTo get a project, send a GET request to `/v2/projects/$PROJECT_ID`.需要连接1 scope
To get a project, send a GET request to `/v2/projects/$PROJECT_ID`.
认证
需要 Connected AccountScopes
project:readTags
Retrieve the Default ProjectDIGITALOCEAN_PROJECTS_GET_DEFAULTTo get your default project, send a GET request to `/v2/projects/default`.需要连接1 scope
To get your default project, send a GET request to `/v2/projects/default`.
认证
需要 Connected AccountScopes
project:readTags
List All ProjectsDIGITALOCEAN_PROJECTS_LISTTo list all your projects, send a GET request to `/v2/projects`.需要连接1 scope
To list all your projects, send a GET request to `/v2/projects`.
认证
需要 Connected AccountScopes
project:readTags
List Project ResourcesDIGITALOCEAN_PROJECTS_LIST_RESOURCESTo list all your resources in a project, send a GET request to `/v2/projects/$PROJECT_ID/resources`. This endpoint will only return resources that you are authorized to see. For example, to see Droplets in a project, include the `droplet:read` scope.需要连接1 scope
To list all your resources in a project, send a GET request to `/v2/projects/$PROJECT_ID/resources`. This endpoint will only return resources that you are authorized to see. For example, to see Droplets in a project, include the `droplet:read` scope.
认证
需要 Connected AccountScopes
project:readTags
List Default Project ResourcesDIGITALOCEAN_PROJECTS_LIST_RESOURCES_DEFAULTTo list all your resources in your default project, send a GET request to `/v2/projects/default/resources`. Only resources that you are authorized to see will be returned. For example, to see Droplets in a project, include the `droplet:read` scope.需要连接1 scope
To list all your resources in your default project, send a GET request to `/v2/projects/default/resources`. Only resources that you are authorized to see will be returned. For example, to see Droplets in a project, include the `droplet:read` scope.
认证
需要 Connected AccountScopes
project:readTags
Patch a ProjectDIGITALOCEAN_PROJECTS_PATCHTo update only specific attributes of a project, send a PATCH request to `/v2/projects/$PROJECT_ID`. At least one of the following attributes needs to be sent.需要连接1 scope
To update only specific attributes of a project, send a PATCH request to `/v2/projects/$PROJECT_ID`. At least one of the following attributes needs to be sent.
认证
需要 Connected AccountScopes
project:updateTags
Patch the Default ProjectDIGITALOCEAN_PROJECTS_PATCH_DEFAULTTo update only specific attributes of your default project, send a PATCH request to `/v2/projects/default`. At least one of the following attributes needs to be sent.需要连接1 scope
To update only specific attributes of your default project, send a PATCH request to `/v2/projects/default`. At least one of the following attributes needs to be sent.
认证
需要 Connected AccountScopes
project:updateTags
Update a ProjectDIGITALOCEAN_PROJECTS_UPDATETo update a project, send a PUT request to `/v2/projects/$PROJECT_ID`. All of the following attributes must be sent.需要连接1 scope
To update a project, send a PUT request to `/v2/projects/$PROJECT_ID`. All of the following attributes must be sent.
认证
需要 Connected AccountScopes
project:updateTags
Update the Default ProjectDIGITALOCEAN_PROJECTS_UPDATE_DEFAULTTo update you default project, send a PUT request to `/v2/projects/default`. All of the following attributes must be sent.需要连接1 scope
To update you default project, send a PUT request to `/v2/projects/default`. All of the following attributes must be sent.
认证
需要 Connected AccountScopes
project:updateTags
List All Data Center RegionsDIGITALOCEAN_REGIONS_LISTTo list all of the regions that are available, send a GET request to `/v2/regions`. The response will be a JSON object with a key called `regions`. The value of this will be an array of `region` objects, each of which will contain the standard region attributes.需要连接1 scope
To list all of the regions that are available, send a GET request to `/v2/regions`. The response will be a JSON object with a key called `regions`. The value of this will be an array of `region` objects, each of which will contain the standard region attributes.
认证
需要 Connected AccountScopes
regions:readTags
Create Container RegistryDIGITALOCEAN_REGISTRIES_CREATETo create your container registry, send a POST request to `/v2/registries`. The `name` becomes part of the URL for images stored in the registry. For example, if your registry is called `example`, an image in it will have the URL `registry.digitalocean.com/example/image:tag`.需要连接1 scope
To create your container registry, send a POST request to `/v2/registries`. The `name` becomes part of the URL for images stored in the registry. For example, if your registry is called `example`, an image in it will have the URL `registry.digitalocean.com/example/image:tag`.
认证
需要 Connected AccountScopes
registry:createTags
Delete Container Registry By NameDIGITALOCEAN_REGISTRIES_DELETETo delete your container registry, destroying all container image data stored in it, send a DELETE request to `/v2/registries/{registry_name}`.需要连接1 scope
To delete your container registry, destroying all container image data stored in it, send a DELETE request to `/v2/registries/{registry_name}`.
认证
需要 Connected AccountScopes
registry:deleteTags
Delete Container Registry RepositoryDIGITALOCEAN_REGISTRIES_DELETE_REPOSITORYTo delete a container repository including all of its tags, send a DELETE request to `/v2/registries/$REGISTRY_NAME/repositories/$REPOSITORY_NAME`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.需要连接1 scope
To delete a container repository including all of its tags, send a DELETE request to `/v2/registries/$REGISTRY_NAME/repositories/$REPOSITORY_NAME`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.
认证
需要 Connected AccountScopes
registry:deleteTags
Delete Container Registry Repository ManifestDIGITALOCEAN_REGISTRIES_DELETE_REPOSITORY_MANIFESTTo delete a container repository manifest by digest in one of your registries, send a DELETE request to `/v2/registries/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/digests/$MANIFEST_DIGEST`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to delete `registry.digitalocean.com/example/my/repo@sha256:abcd`, the path would be `/v2/registry/example/repositories/my%2Frepo/digests/sha256:abcd`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully. It is similar to DELETE `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/digests/$MANIFEST_DIGEST`.需要连接1 scope
To delete a container repository manifest by digest in one of your registries, send a DELETE request to `/v2/registries/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/digests/$MANIFEST_DIGEST`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to delete `registry.digitalocean.com/example/my/repo@sha256:abcd`, the path would be `/v2/registry/example/repositories/my%2Frepo/digests/sha256:abcd`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully. It is similar to DELETE `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/digests/$MANIFEST_DIGEST`.
认证
需要 Connected AccountScopes
registry:deleteTags
Delete Container Registry Repository TagDIGITALOCEAN_REGISTRIES_DELETE_REPOSITORY_TAGTo delete a container repository tag in on of our container registries, send a DELETE request to `/v2/registries/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags/$TAG`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to delete `registry.digitalocean.com/example/my/repo:mytag`, the path would be `/v2/registry/example/repositories/my%2Frepo/tags/mytag`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully. It is similar to DELETE `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags/$TAG`.需要连接1 scope
To delete a container repository tag in on of our container registries, send a DELETE request to `/v2/registries/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags/$TAG`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to delete `registry.digitalocean.com/example/my/repo:mytag`, the path would be `/v2/registry/example/repositories/my%2Frepo/tags/mytag`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully. It is similar to DELETE `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags/$TAG`.
认证
需要 Connected AccountScopes
registry:deleteTags
Get a Container Registry By NameDIGITALOCEAN_REGISTRIES_GETTo get information about any container registry in your account, send a GET request to `/v2/registries/{registry_name}`.需要连接1 scope
To get information about any container registry in your account, send a GET request to `/v2/registries/{registry_name}`.
认证
需要 Connected AccountScopes
registry:readTags
Get Docker Credentials By Registry NameDIGITALOCEAN_REGISTRIES_GET_DOCKER_CREDENTIALSIn order to access your container registry with the Docker client or from a Kubernetes cluster, you will need to configure authentication. The necessary JSON configuration can be retrieved by sending a GET request to `/v2/registries/{registry_name}/docker-credentials`. The response will be in the format of a Docker `config.json` file. To use the config in your Kubernetes cluster, create a Secret with: kubectl create secret generic docr \ --from-file=.dockerconfigjson=config.json \ --type=kubernetes.io/dockerconfigjson By default, the returned credentials have read-only access to your registry and cannot be used to push images. This is appropriate for most Kubernetes clusters. To retrieve read/write credentials, suitable for use with the Docker client or in a CI system, read_write may be provided as query parameter. For example: `/v2/registries/{registry_name}/docker-credentials?read_write=true` By default, the returned credentials will not expire. To retrieve credentials with an expiry set, expiry_seconds may be provided as a query parameter. For example: `/v2/registries/{registry_name}/docker-credentials?expiry_seconds=3600` will return credentials that expire after one hour.需要连接2 scopes
In order to access your container registry with the Docker client or from a Kubernetes cluster, you will need to configure authentication. The necessary JSON configuration can be retrieved by sending a GET request to `/v2/registries/{registry_name}/docker-credentials`. The response will be in the format of a Docker `config.json` file. To use the config in your Kubernetes cluster, create a Secret with: kubectl create secret generic docr \ --from-file=.dockerconfigjson=config.json \ --type=kubernetes.io/dockerconfigjson By default, the returned credentials have read-only access to your registry and cannot be used to push images. This is appropriate for most Kubernetes clusters. To retrieve read/write credentials, suitable for use with the Docker client or in a CI system, read_write may be provided as query parameter. For example: `/v2/registries/{registry_name}/docker-credentials?read_write=true` By default, the returned credentials will not expire. To retrieve credentials with an expiry set, expiry_seconds may be provided as a query parameter. For example: `/v2/registries/{registry_name}/docker-credentials?expiry_seconds=3600` will return credentials that expire after one hour.
认证
需要 Connected AccountScopes
registry:readregistry:updateTags
Get Active Garbage CollectionDIGITALOCEAN_REGISTRIES_GET_GARBAGE_COLLECTIONTo get information about the currently-active garbage collection for a registry, send a GET request to `/v2/registry/$REGISTRY_NAME/garbage-collection`.需要连接1 scope
To get information about the currently-active garbage collection for a registry, send a GET request to `/v2/registry/$REGISTRY_NAME/garbage-collection`.
认证
需要 Connected AccountScopes
registry:readTags
List Registry Options (Subscription Tiers and Available Regions)DIGITALOCEAN_REGISTRIES_GET_OPTIONSThis endpoint serves to provide additional information as to which option values are available when creating a container registry. There are multiple subscription tiers available for container registry. Each tier allows a different number of image repositories to be created in your registry, and has a different amount of storage and transfer included. There are multiple regions available for container registry and controls where your data is stored. To list the available options, send a GET request to `/v2/registries/options`. This is similar to GET `/v2/registry/options`.需要连接1 scope
This endpoint serves to provide additional information as to which option values are available when creating a container registry. There are multiple subscription tiers available for container registry. Each tier allows a different number of image repositories to be created in your registry, and has a different amount of storage and transfer included. There are multiple regions available for container registry and controls where your data is stored. To list the available options, send a GET request to `/v2/registries/options`. This is similar to GET `/v2/registry/options`.
认证
需要 Connected AccountScopes
registry:readTags
Get Subscription InformationDIGITALOCEAN_REGISTRIES_GET_SUBSCRIPTIONA subscription is automatically created when you configure your container registry. To get information about your subscription, send a GET request to `/v2/registries/subscription`. It is similar to GET `/v2/registry/subscription`.需要连接1 scope
A subscription is automatically created when you configure your container registry. To get information about your subscription, send a GET request to `/v2/registries/subscription`. It is similar to GET `/v2/registry/subscription`.
认证
需要 Connected AccountScopes
registry:readTags
List All Container RegistriesDIGITALOCEAN_REGISTRIES_LISTTo get information about any container registry in your account, send a GET request to `/v2/registries/`.需要连接1 scope
To get information about any container registry in your account, send a GET request to `/v2/registries/`.
认证
需要 Connected AccountScopes
registry:readTags
List Garbage CollectionsDIGITALOCEAN_REGISTRIES_LIST_GARBAGE_COLLECTIONSTo get information about past garbage collections for a registry, send a GET request to `/v2/registry/$REGISTRY_NAME/garbage-collections`.需要连接1 scope
To get information about past garbage collections for a registry, send a GET request to `/v2/registry/$REGISTRY_NAME/garbage-collections`.
认证
需要 Connected AccountScopes
registry:readTags
List All Container Registry Repositories (V2)DIGITALOCEAN_REGISTRIES_LIST_REPOSITORIES_V2To list all repositories in your container registry, send a GET request to `/v2/registries/$REGISTRY_NAME/repositoriesV2`. It is similar to GET `/v2/registry/$REGISTRY_NAME/repositoriesV2`.需要连接1 scope
To list all repositories in your container registry, send a GET request to `/v2/registries/$REGISTRY_NAME/repositoriesV2`. It is similar to GET `/v2/registry/$REGISTRY_NAME/repositoriesV2`.
认证
需要 Connected AccountScopes
registry:readTags
List All Container Registry Repository ManifestsDIGITALOCEAN_REGISTRIES_LIST_REPOSITORY_MANIFESTSTo list all manifests in your container registry repository, send a GET request to `/v2/registries/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/digests`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to list manifests for `registry.digitalocean.com/example/my/repo`, the path would be `/v2/registry/example/repositories/my%2Frepo/digests`. It is similar to `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/digests`.需要连接1 scope
To list all manifests in your container registry repository, send a GET request to `/v2/registries/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/digests`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to list manifests for `registry.digitalocean.com/example/my/repo`, the path would be `/v2/registry/example/repositories/my%2Frepo/digests`. It is similar to `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/digests`.
认证
需要 Connected AccountScopes
registry:readTags
List All Container Registry Repository TagsDIGITALOCEAN_REGISTRIES_LIST_REPOSITORY_TAGSTo list all tags in one of your container registry's repository, send a GET request to `/v2/registries/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to list tags for `registry.digitalocean.com/example/my/repo`, the path would be `/v2/registry/example/repositories/my%2Frepo/tags`. It is similar to GET `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags`.需要连接1 scope
To list all tags in one of your container registry's repository, send a GET request to `/v2/registries/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to list tags for `registry.digitalocean.com/example/my/repo`, the path would be `/v2/registry/example/repositories/my%2Frepo/tags`. It is similar to GET `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags`.
认证
需要 Connected AccountScopes
registry:readTags
Start Garbage CollectionDIGITALOCEAN_REGISTRIES_RUN_GARBAGE_COLLECTIONGarbage collection enables users to clear out unreferenced blobs (layer & manifest data) after deleting one or more manifests from a repository. If there are no unreferenced blobs resulting from the deletion of one or more manifests, garbage collection is effectively a noop. [See here for more information](https://docs.digitalocean.com/products/container-registry/how-to/clean-up-container-registry/) about how and why you should clean up your container registry periodically. To request a garbage collection run on your registry, send a POST request to `/v2/registries/$REGISTRY_NAME/garbage-collection`. This will initiate the following sequence of events on your registry. * Set the registry to read-only mode, meaning no further write-scoped JWTs will be issued to registry clients. Existing write-scoped JWTs will continue to work until they expire which can take up to 15 minutes. * Wait until all existing write-scoped JWTs have expired. * Scan all registry manifests to determine which blobs are unreferenced. * Delete all unreferenced blobs from the registry. * Record the number of blobs deleted and bytes freed, mark the garbage collection status as `success`. * Remove the read-only mode restriction from the registry, meaning write-scoped JWTs will once again be issued to registry clients.需要连接1 scope
Garbage collection enables users to clear out unreferenced blobs (layer & manifest data) after deleting one or more manifests from a repository. If there are no unreferenced blobs resulting from the deletion of one or more manifests, garbage collection is effectively a noop. [See here for more information](https://docs.digitalocean.com/products/container-registry/how-to/clean-up-container-registry/) about how and why you should clean up your container registry periodically. To request a garbage collection run on your registry, send a POST request to `/v2/registries/$REGISTRY_NAME/garbage-collection`. This will initiate the following sequence of events on your registry. * Set the registry to read-only mode, meaning no further write-scoped JWTs will be issued to registry clients. Existing write-scoped JWTs will continue to work until they expire which can take up to 15 minutes. * Wait until all existing write-scoped JWTs have expired. * Scan all registry manifests to determine which blobs are unreferenced. * Delete all unreferenced blobs from the registry. * Record the number of blobs deleted and bytes freed, mark the garbage collection status as `success`. * Remove the read-only mode restriction from the registry, meaning write-scoped JWTs will once again be issued to registry clients.
认证
需要 Connected AccountScopes
registry:updateTags
Update Garbage CollectionDIGITALOCEAN_REGISTRIES_UPDATE_GARBAGE_COLLECTIONTo cancel the currently-active garbage collection for a registry, send a PUT request to `/v2/registries/$REGISTRY_NAME/garbage-collection/$GC_UUID` and specify one or more of the attributes below. It is similar to PUT `/v2/registries/$REGISTRY_NAME/garbage-collection/$GC_UUID`.需要连接1 scope
To cancel the currently-active garbage collection for a registry, send a PUT request to `/v2/registries/$REGISTRY_NAME/garbage-collection/$GC_UUID` and specify one or more of the attributes below. It is similar to PUT `/v2/registries/$REGISTRY_NAME/garbage-collection/$GC_UUID`.
认证
需要 Connected AccountScopes
registry:updateTags
Update Subscription TierDIGITALOCEAN_REGISTRIES_UPDATE_SUBSCRIPTIONAfter creating your registry, you can switch to a different subscription tier to better suit your needs. To do this, send a POST request to `/v2/registries/subscription`. It is similar to POST `/v2/registry/subscription`.需要连接1 scope
After creating your registry, you can switch to a different subscription tier to better suit your needs. To do this, send a POST request to `/v2/registries/subscription`. It is similar to POST `/v2/registry/subscription`.
认证
需要 Connected AccountScopes
registry:updateTags
Validate a Container Registry NameDIGITALOCEAN_REGISTRIES_VALIDATE_NAMETo validate that a container registry name is available for use, send a POST request to `/v2/registries/validate-name`. If the name is both formatted correctly and available, the response code will be 204 and contain no body. If the name is already in use, the response will be a 409 Conflict. It is similar to `/v2/registry/validate-name`.需要连接1 scope
To validate that a container registry name is available for use, send a POST request to `/v2/registries/validate-name`. If the name is both formatted correctly and available, the response code will be 204 and contain no body. If the name is already in use, the response will be a 409 Conflict. It is similar to `/v2/registry/validate-name`.
认证
需要 Connected AccountScopes
registry:createTags
Create Container RegistryDIGITALOCEAN_REGISTRY_CREATE**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To create your container registry, send a POST request to `/v2/registry`. The `name` becomes part of the URL for images stored in the registry. For example, if your registry is called `example`, an image in it will have the URL `registry.digitalocean.com/example/image:tag`.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To create your container registry, send a POST request to `/v2/registry`. The `name` becomes part of the URL for images stored in the registry. For example, if your registry is called `example`, an image in it will have the URL `registry.digitalocean.com/example/image:tag`.
认证
需要 Connected AccountScopes
registry:createTags
Delete Container RegistryDIGITALOCEAN_REGISTRY_DELETE**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To delete your container registry, destroying all container image data stored in it, send a DELETE request to `/v2/registry`. This operation is not compatible with multiple registries in a DO account. You should use `/v2/registries/{registry_name}` instead.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To delete your container registry, destroying all container image data stored in it, send a DELETE request to `/v2/registry`. This operation is not compatible with multiple registries in a DO account. You should use `/v2/registries/{registry_name}` instead.
认证
需要 Connected AccountScopes
registry:deleteTags
Delete Container Registry Repository ManifestDIGITALOCEAN_REGISTRY_DELETE_REPOSITORY_MANIFEST**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To delete a container repository manifest by digest, send a DELETE request to `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/digests/$MANIFEST_DIGEST`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to delete `registry.digitalocean.com/example/my/repo@sha256:abcd`, the path would be `/v2/registry/example/repositories/my%2Frepo/digests/sha256:abcd`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To delete a container repository manifest by digest, send a DELETE request to `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/digests/$MANIFEST_DIGEST`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to delete `registry.digitalocean.com/example/my/repo@sha256:abcd`, the path would be `/v2/registry/example/repositories/my%2Frepo/digests/sha256:abcd`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.
认证
需要 Connected AccountScopes
registry:deleteTags
Delete Container Registry Repository TagDIGITALOCEAN_REGISTRY_DELETE_REPOSITORY_TAG**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To delete a container repository tag, send a DELETE request to `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags/$TAG`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to delete `registry.digitalocean.com/example/my/repo:mytag`, the path would be `/v2/registry/example/repositories/my%2Frepo/tags/mytag`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To delete a container repository tag, send a DELETE request to `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags/$TAG`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to delete `registry.digitalocean.com/example/my/repo:mytag`, the path would be `/v2/registry/example/repositories/my%2Frepo/tags/mytag`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.
认证
需要 Connected AccountScopes
registry:deleteTags
Get Container Registry InformationDIGITALOCEAN_REGISTRY_GET**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To get information about your container registry, send a GET request to `/v2/registry`. This operation is not compatible with multiple registries in a DO account. You should use `/v2/registries/{registry_name}` instead.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To get information about your container registry, send a GET request to `/v2/registry`. This operation is not compatible with multiple registries in a DO account. You should use `/v2/registries/{registry_name}` instead.
认证
需要 Connected AccountScopes
registry:readTags
Get Docker Credentials for Container RegistryDIGITALOCEAN_REGISTRY_GET_DOCKER_CREDENTIALS**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** In order to access your container registry with the Docker client or from a Kubernetes cluster, you will need to configure authentication. The necessary JSON configuration can be retrieved by sending a GET request to `/v2/registry/docker-credentials`. The response will be in the format of a Docker `config.json` file. To use the config in your Kubernetes cluster, create a Secret with: kubectl create secret generic docr \ --from-file=.dockerconfigjson=config.json \ --type=kubernetes.io/dockerconfigjson By default, the returned credentials have read-only access to your registry and cannot be used to push images. This is appropriate for most Kubernetes clusters. To retrieve read/write credentials, suitable for use with the Docker client or in a CI system, read_write may be provided as query parameter. For example: `/v2/registry/docker-credentials?read_write=true` By default, the returned credentials will not expire. To retrieve credentials with an expiry set, expiry_seconds may be provided as a query parameter. For example: `/v2/registry/docker-credentials?expiry_seconds=3600` will return credentials that expire after one hour.需要连接2 scopes
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** In order to access your container registry with the Docker client or from a Kubernetes cluster, you will need to configure authentication. The necessary JSON configuration can be retrieved by sending a GET request to `/v2/registry/docker-credentials`. The response will be in the format of a Docker `config.json` file. To use the config in your Kubernetes cluster, create a Secret with: kubectl create secret generic docr \ --from-file=.dockerconfigjson=config.json \ --type=kubernetes.io/dockerconfigjson By default, the returned credentials have read-only access to your registry and cannot be used to push images. This is appropriate for most Kubernetes clusters. To retrieve read/write credentials, suitable for use with the Docker client or in a CI system, read_write may be provided as query parameter. For example: `/v2/registry/docker-credentials?read_write=true` By default, the returned credentials will not expire. To retrieve credentials with an expiry set, expiry_seconds may be provided as a query parameter. For example: `/v2/registry/docker-credentials?expiry_seconds=3600` will return credentials that expire after one hour.
认证
需要 Connected AccountScopes
registry:readregistry:updateTags
Get Active Garbage CollectionDIGITALOCEAN_REGISTRY_GET_GARBAGE_COLLECTION**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To get information about the currently-active garbage collection for a registry, send a GET request to `/v2/registry/$REGISTRY_NAME/garbage-collection`.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To get information about the currently-active garbage collection for a registry, send a GET request to `/v2/registry/$REGISTRY_NAME/garbage-collection`.
认证
需要 Connected AccountScopes
registry:readTags
List Registry Options (Subscription Tiers and Available Regions)DIGITALOCEAN_REGISTRY_GET_OPTIONS**Note: This endpoint is deprecated and may be removed in a future version. There is no alternative.****Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** This endpoint serves to provide additional information as to which option values are available when creating a container registry. There are multiple subscription tiers available for container registry. Each tier allows a different number of image repositories to be created in your registry, and has a different amount of storage and transfer included. There are multiple regions available for container registry and controls where your data is stored. To list the available options, send a GET request to `/v2/registry/options`.需要连接1 scope
**Note: This endpoint is deprecated and may be removed in a future version. There is no alternative.****Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** This endpoint serves to provide additional information as to which option values are available when creating a container registry. There are multiple subscription tiers available for container registry. Each tier allows a different number of image repositories to be created in your registry, and has a different amount of storage and transfer included. There are multiple regions available for container registry and controls where your data is stored. To list the available options, send a GET request to `/v2/registry/options`.
认证
需要 Connected AccountScopes
registry:readTags
Get SubscriptionDIGITALOCEAN_REGISTRY_GET_SUBSCRIPTION**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** A subscription is automatically created when you configure your container registry. To get information about your subscription, send a GET request to `/v2/registry/subscription`.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** A subscription is automatically created when you configure your container registry. To get information about your subscription, send a GET request to `/v2/registry/subscription`.
认证
需要 Connected AccountScopes
registry:readTags
List Garbage CollectionsDIGITALOCEAN_REGISTRY_LIST_GARBAGE_COLLECTIONS**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To get information about past garbage collections for a registry, send a GET request to `/v2/registry/$REGISTRY_NAME/garbage-collections`.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To get information about past garbage collections for a registry, send a GET request to `/v2/registry/$REGISTRY_NAME/garbage-collections`.
认证
需要 Connected AccountScopes
registry:readTags
List All Container Registry RepositoriesDIGITALOCEAN_REGISTRY_LIST_REPOSITORIES**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** This endpoint has been deprecated in favor of the _List All Container Registry Repositories [V2]_ endpoint. To list all repositories in your container registry, send a GET request to `/v2/registry/$REGISTRY_NAME/repositories`.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** This endpoint has been deprecated in favor of the _List All Container Registry Repositories [V2]_ endpoint. To list all repositories in your container registry, send a GET request to `/v2/registry/$REGISTRY_NAME/repositories`.
认证
需要 Connected AccountScopes
registry:readTags
List All Container Registry Repositories (V2)DIGITALOCEAN_REGISTRY_LIST_REPOSITORIES_V2**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To list all repositories in your container registry, send a GET request to `/v2/registry/$REGISTRY_NAME/repositoriesV2`.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To list all repositories in your container registry, send a GET request to `/v2/registry/$REGISTRY_NAME/repositoriesV2`.
认证
需要 Connected AccountScopes
registry:readTags
List All Container Registry Repository ManifestsDIGITALOCEAN_REGISTRY_LIST_REPOSITORY_MANIFESTS**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To list all manifests in your container registry repository, send a GET request to `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/digests`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to list manifests for `registry.digitalocean.com/example/my/repo`, the path would be `/v2/registry/example/repositories/my%2Frepo/digests`.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To list all manifests in your container registry repository, send a GET request to `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/digests`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to list manifests for `registry.digitalocean.com/example/my/repo`, the path would be `/v2/registry/example/repositories/my%2Frepo/digests`.
认证
需要 Connected AccountScopes
registry:readTags
List All Container Registry Repository TagsDIGITALOCEAN_REGISTRY_LIST_REPOSITORY_TAGS**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To list all tags in your container registry repository, send a GET request to `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to list tags for `registry.digitalocean.com/example/my/repo`, the path would be `/v2/registry/example/repositories/my%2Frepo/tags`.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To list all tags in your container registry repository, send a GET request to `/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags`. Note that if your repository name contains `/` characters, it must be URL-encoded in the request URL. For example, to list tags for `registry.digitalocean.com/example/my/repo`, the path would be `/v2/registry/example/repositories/my%2Frepo/tags`.
认证
需要 Connected AccountScopes
registry:readTags
Start Garbage CollectionDIGITALOCEAN_REGISTRY_RUN_GARBAGE_COLLECTION**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** Garbage collection enables users to clear out unreferenced blobs (layer & manifest data) after deleting one or more manifests from a repository. If there are no unreferenced blobs resulting from the deletion of one or more manifests, garbage collection is effectively a noop. [See here for more information](https://docs.digitalocean.com/products/container-registry/how-to/clean-up-container-registry/) about how and why you should clean up your container registry periodically. To request a garbage collection run on your registry, send a POST request to `/v2/registry/$REGISTRY_NAME/garbage-collection`. This will initiate the following sequence of events on your registry. * Set the registry to read-only mode, meaning no further write-scoped JWTs will be issued to registry clients. Existing write-scoped JWTs will continue to work until they expire which can take up to 15 minutes. * Wait until all existing write-scoped JWTs have expired. * Scan all registry manifests to determine which blobs are unreferenced. * Delete all unreferenced blobs from the registry. * Record the number of blobs deleted and bytes freed, mark the garbage collection status as `success`. * Remove the read-only mode restriction from the registry, meaning write-scoped JWTs will once again be issued to registry clients.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** Garbage collection enables users to clear out unreferenced blobs (layer & manifest data) after deleting one or more manifests from a repository. If there are no unreferenced blobs resulting from the deletion of one or more manifests, garbage collection is effectively a noop. [See here for more information](https://docs.digitalocean.com/products/container-registry/how-to/clean-up-container-registry/) about how and why you should clean up your container registry periodically. To request a garbage collection run on your registry, send a POST request to `/v2/registry/$REGISTRY_NAME/garbage-collection`. This will initiate the following sequence of events on your registry. * Set the registry to read-only mode, meaning no further write-scoped JWTs will be issued to registry clients. Existing write-scoped JWTs will continue to work until they expire which can take up to 15 minutes. * Wait until all existing write-scoped JWTs have expired. * Scan all registry manifests to determine which blobs are unreferenced. * Delete all unreferenced blobs from the registry. * Record the number of blobs deleted and bytes freed, mark the garbage collection status as `success`. * Remove the read-only mode restriction from the registry, meaning write-scoped JWTs will once again be issued to registry clients.
认证
需要 Connected AccountScopes
registry:updateTags
Update Garbage CollectionDIGITALOCEAN_REGISTRY_UPDATE_GARBAGE_COLLECTION**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To cancel the currently-active garbage collection for a registry, send a PUT request to `/v2/registry/$REGISTRY_NAME/garbage-collection/$GC_UUID` and specify one or more of the attributes below.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To cancel the currently-active garbage collection for a registry, send a PUT request to `/v2/registry/$REGISTRY_NAME/garbage-collection/$GC_UUID` and specify one or more of the attributes below.
认证
需要 Connected AccountScopes
registry:updateTags
Update Subscription TierDIGITALOCEAN_REGISTRY_UPDATE_SUBSCRIPTION**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** After creating your registry, you can switch to a different subscription tier to better suit your needs. To do this, send a POST request to `/v2/registry/subscription`.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** After creating your registry, you can switch to a different subscription tier to better suit your needs. To do this, send a POST request to `/v2/registry/subscription`.
认证
需要 Connected AccountScopes
registry:updateTags
Validate a Container Registry NameDIGITALOCEAN_REGISTRY_VALIDATE_NAME**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To validate that a container registry name is available for use, send a POST request to `/v2/registry/validate-name`. If the name is both formatted correctly and available, the response code will be 204 and contain no body. If the name is already in use, the response will be a 409 Conflict.需要连接1 scope
**Note: This endpoint is deprecated. Please use the `/v2/registries` endpoint instead.** To validate that a container registry name is available for use, send a POST request to `/v2/registry/validate-name`. If the name is both formatted correctly and available, the response code will be 204 and contain no body. If the name is already in use, the response will be a 409 Conflict.
认证
需要 Connected AccountScopes
registry:createTags
Retrieve an Existing Reserved IP ActionDIGITALOCEAN_RESERVED_IPS_ACTIONS_GETTo retrieve the status of a reserved IP action, send a GET request to `/v2/reserved_ips/$RESERVED_IP/actions/$ACTION_ID`.需要连接1 scope
To retrieve the status of a reserved IP action, send a GET request to `/v2/reserved_ips/$RESERVED_IP/actions/$ACTION_ID`.
认证
需要 Connected AccountScopes
reserved_ip:readTags
List All Actions for a Reserved IPDIGITALOCEAN_RESERVED_IPS_ACTIONS_LISTTo retrieve all actions that have been executed on a reserved IP, send a GET request to `/v2/reserved_ips/$RESERVED_IP/actions`.需要连接1 scope
To retrieve all actions that have been executed on a reserved IP, send a GET request to `/v2/reserved_ips/$RESERVED_IP/actions`.
认证
需要 Connected AccountScopes
reserved_ip:readTags
Initiate a Reserved IP ActionDIGITALOCEAN_RESERVED_IPS_ACTIONS_POSTTo initiate an action on a reserved IP send a POST request to `/v2/reserved_ips/$RESERVED_IP/actions`. In the JSON body to the request, set the `type` attribute to on of the supported action types: | Action | Details |------------|-------- | `assign` | Assigns a reserved IP to a Droplet | `unassign` | Unassign a reserved IP from a Droplet需要连接1 scope
To initiate an action on a reserved IP send a POST request to `/v2/reserved_ips/$RESERVED_IP/actions`. In the JSON body to the request, set the `type` attribute to on of the supported action types: | Action | Details |------------|-------- | `assign` | Assigns a reserved IP to a Droplet | `unassign` | Unassign a reserved IP from a Droplet
认证
需要 Connected AccountScopes
reserved_ip:updateTags
Create a New Reserved IPDIGITALOCEAN_RESERVED_IPS_CREATEOn creation, a reserved IP must be either assigned to a Droplet or reserved to a region. * To create a new reserved IP assigned to a Droplet, send a POST request to `/v2/reserved_ips` with the `droplet_id` attribute. * To create a new reserved IP reserved to a region, send a POST request to `/v2/reserved_ips` with the `region` attribute.需要连接1 scope
On creation, a reserved IP must be either assigned to a Droplet or reserved to a region. * To create a new reserved IP assigned to a Droplet, send a POST request to `/v2/reserved_ips` with the `droplet_id` attribute. * To create a new reserved IP reserved to a region, send a POST request to `/v2/reserved_ips` with the `region` attribute.
认证
需要 Connected AccountScopes
reserved_ip:createTags
Delete a Reserved IPDIGITALOCEAN_RESERVED_IPS_DELETETo delete a reserved IP and remove it from your account, send a DELETE request to `/v2/reserved_ips/$RESERVED_IP_ADDR`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.需要连接1 scope
To delete a reserved IP and remove it from your account, send a DELETE request to `/v2/reserved_ips/$RESERVED_IP_ADDR`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.
认证
需要 Connected AccountScopes
reserved_ip:deleteTags
Retrieve an Existing Reserved IPDIGITALOCEAN_RESERVED_IPS_GETTo show information about a reserved IP, send a GET request to `/v2/reserved_ips/$RESERVED_IP_ADDR`.需要连接1 scope
To show information about a reserved IP, send a GET request to `/v2/reserved_ips/$RESERVED_IP_ADDR`.
认证
需要 Connected AccountScopes
reserved_ip:readTags
List All Reserved IPsDIGITALOCEAN_RESERVED_IPS_LISTTo list all of the reserved IPs available on your account, send a GET request to `/v2/reserved_ips`.需要连接1 scope
To list all of the reserved IPs available on your account, send a GET request to `/v2/reserved_ips`.
认证
需要 Connected AccountScopes
reserved_ip:readTags
Initiate a Reserved IPv6 ActionDIGITALOCEAN_RESERVED_IPV6_ACTIONS_POSTTo initiate an action on a reserved IPv6 send a POST request to `/v2/reserved_ipv6/$RESERVED_IPV6/actions`. In the JSON body to the request, set the `type` attribute to on of the supported action types: | Action | Details |------------|-------- | `assign` | Assigns a reserved IPv6 to a Droplet | `unassign` | Unassign a reserved IPv6 from a Droplet需要连接1 scope
To initiate an action on a reserved IPv6 send a POST request to `/v2/reserved_ipv6/$RESERVED_IPV6/actions`. In the JSON body to the request, set the `type` attribute to on of the supported action types: | Action | Details |------------|-------- | `assign` | Assigns a reserved IPv6 to a Droplet | `unassign` | Unassign a reserved IPv6 from a Droplet
认证
需要 Connected AccountScopes
reserved_ip:updateTags
Create a New Reserved IPv6DIGITALOCEAN_RESERVED_IPV6_CREATEOn creation, a reserved IPv6 must be reserved to a region. * To create a new reserved IPv6 reserved to a region, send a POST request to `/v2/reserved_ipv6` with the `region_slug` attribute.需要连接1 scope
On creation, a reserved IPv6 must be reserved to a region. * To create a new reserved IPv6 reserved to a region, send a POST request to `/v2/reserved_ipv6` with the `region_slug` attribute.
认证
需要 Connected AccountScopes
reserved_ip:createTags
Delete a Reserved IPv6DIGITALOCEAN_RESERVED_IPV6_DELETETo delete a reserved IP and remove it from your account, send a DELETE request to `/v2/reserved_ipv6/$RESERVED_IPV6`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.需要连接1 scope
To delete a reserved IP and remove it from your account, send a DELETE request to `/v2/reserved_ipv6/$RESERVED_IPV6`. A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.
认证
需要 Connected AccountScopes
reserved_ip:deleteTags
Retrieve an Existing Reserved IPv6DIGITALOCEAN_RESERVED_IPV6_GETTo show information about a reserved IPv6, send a GET request to `/v2/reserved_ipv6/$RESERVED_IPV6`.需要连接1 scope
To show information about a reserved IPv6, send a GET request to `/v2/reserved_ipv6/$RESERVED_IPV6`.
认证
需要 Connected AccountScopes
reserved_ip:readTags
List All Reserved IPv6sDIGITALOCEAN_RESERVED_IPV6_LISTTo list all of the reserved IPv6s available on your account, send a GET request to `/v2/reserved_ipv6`.需要连接1 scope
To list all of the reserved IPv6s available on your account, send a GET request to `/v2/reserved_ipv6`.
认证
需要 Connected AccountScopes
reserved_ip:readTags
Create ScanDIGITALOCEAN_SECURITY_CREATE_SCANTo create a CSPM scan, send a POST request to `/v2/security/scans`.需要连接1 scope
To create a CSPM scan, send a POST request to `/v2/security/scans`.
认证
需要 Connected AccountScopes
security:createTags
Create Scan RuleDIGITALOCEAN_SECURITY_CREATE_SCAN_RULETo mark a scan finding as a false positive, send a POST request to `/v2/security/scans/rules` to create a new scan rule.需要连接1 scope
To mark a scan finding as a false positive, send a POST request to `/v2/security/scans/rules` to create a new scan rule.
认证
需要 Connected AccountScopes
security:createTags
Create SecretDIGITALOCEAN_SECURITY_CREATE_SECRETTo create a secret, send a POST request to `/v2/security/secrets`.需要连接1 scope
To create a secret, send a POST request to `/v2/security/secrets`.
认证
需要 Connected AccountScopes
security:createTags
Create SuppressionDIGITALOCEAN_SECURITY_CREATE_SUPPRESSIONTo suppress scan findings, send a POST request to `/v2/security/settings/suppressions`.需要连接1 scope
To suppress scan findings, send a POST request to `/v2/security/settings/suppressions`.
认证
需要 Connected AccountScopes
security:createTags
Delete SecretDIGITALOCEAN_SECURITY_DELETE_SECRETTo request deletion of a secret, send a DELETE request to `/v2/security/secrets/{secret}`.需要连接1 scope
To request deletion of a secret, send a DELETE request to `/v2/security/secrets/{secret}`.
认证
需要 Connected AccountScopes
security:deleteTags
Delete SuppressionDIGITALOCEAN_SECURITY_DELETE_SUPPRESSIONTo remove a suppression, send a DELETE request to `/v2/security/settings/suppressions/{suppression_uuid}`.需要连接1 scope
To remove a suppression, send a DELETE request to `/v2/security/settings/suppressions/{suppression_uuid}`.
认证
需要 Connected AccountScopes
security:deleteTags
Get Latest ScanDIGITALOCEAN_SECURITY_GET_LATEST_SCANTo get the latest CSPM scan, send a GET request to `/v2/security/scans/latest`.需要连接1 scope
To get the latest CSPM scan, send a GET request to `/v2/security/scans/latest`.
认证
需要 Connected AccountScopes
security:readTags
Get ScanDIGITALOCEAN_SECURITY_GET_SCANTo get a CSPM scan by ID, send a GET request to `/v2/security/scans/{scan_id}`.需要连接1 scope
To get a CSPM scan by ID, send a GET request to `/v2/security/scans/{scan_id}`.
认证
需要 Connected AccountScopes
security:readTags
Get SecretDIGITALOCEAN_SECURITY_GET_SECRETTo retrieve a secret and its values, send a GET request to `/v2/security/secrets/{secret}`.需要连接1 scope
To retrieve a secret and its values, send a GET request to `/v2/security/secrets/{secret}`.
认证
需要 Connected AccountScopes
security:readTags
List Finding Affected ResourcesDIGITALOCEAN_SECURITY_LIST_SCAN_FINDING_AFFECTED_RESOURCESTo get affected resources for a scan finding, send a GET request to `/v2/security/scans/{scan_id}/findings/{finding_uuid}/affected_resources`.需要连接1 scope
To get affected resources for a scan finding, send a GET request to `/v2/security/scans/{scan_id}/findings/{finding_uuid}/affected_resources`.
认证
需要 Connected AccountScopes
security:readTags
List ScansDIGITALOCEAN_SECURITY_LIST_SCANSTo list all CSPM scans, send a GET request to `/v2/security/scans`.需要连接1 scope
To list all CSPM scans, send a GET request to `/v2/security/scans`.
认证
需要 Connected AccountScopes
security:readTags
List Secret VersionsDIGITALOCEAN_SECURITY_LIST_SECRET_VERSIONSTo list all versions of a secret, send a GET request to `/v2/security/secrets/{secret}/versions`.需要连接1 scope
To list all versions of a secret, send a GET request to `/v2/security/secrets/{secret}/versions`.
认证
需要 Connected AccountScopes
security:readTags
List SecretsDIGITALOCEAN_SECURITY_LIST_SECRETSTo list secrets across all configured regions, send a GET request to `/v2/security/secrets`.需要连接1 scope
To list secrets across all configured regions, send a GET request to `/v2/security/secrets`.
认证
需要 Connected AccountScopes
security:readTags
List SettingsDIGITALOCEAN_SECURITY_LIST_SETTINGSTo list CSPM scan settings, send a GET request to `/v2/security/settings`.需要连接1 scope
To list CSPM scan settings, send a GET request to `/v2/security/settings`.
认证
需要 Connected AccountScopes
security:readTags
Restore SecretDIGITALOCEAN_SECURITY_POST_RESTORE_SECRETTo restore a deleted secret, send a POST request to `/v2/security/secrets/{secret}/restore`.需要连接1 scope
To restore a deleted secret, send a POST request to `/v2/security/secrets/{secret}/restore`.
认证
需要 Connected AccountScopes
security:createTags
Update SecretDIGITALOCEAN_SECURITY_UPDATE_SECRETTo update a secret, send a PUT request to `/v2/security/secrets/{secret}`.需要连接1 scope
To update a secret, send a PUT request to `/v2/security/secrets/{secret}`.
认证
需要 Connected AccountScopes
security:updateTags
Update PlanDIGITALOCEAN_SECURITY_UPDATE_SETTINGS_PLANTo update CSPM plan coverage, send a PUT request to `/v2/security/settings/plan`.需要连接1 scope
To update CSPM plan coverage, send a PUT request to `/v2/security/settings/plan`.
认证
需要 Connected AccountScopes
security:updateTags
List All Droplet SizesDIGITALOCEAN_SIZES_LISTTo list all of available Droplet sizes, send a GET request to `/v2/sizes`. The response will be a JSON object with a key called `sizes`. The value of this will be an array of `size` objects each of which contain the standard size attributes.需要连接2 scopes
To list all of available Droplet sizes, send a GET request to `/v2/sizes`. The response will be a JSON object with a key called `sizes`. The value of this will be an array of `size` objects each of which contain the standard size attributes.
认证
需要 Connected AccountScopes
sizes:readregions:readTags
Delete a SnapshotDIGITALOCEAN_SNAPSHOTS_DELETEBoth Droplet and volume snapshots are managed through the `/v2/snapshots/` endpoint. To delete a snapshot, send a DELETE request to `/v2/snapshots/$SNAPSHOT_ID`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.需要连接2 scopes
Both Droplet and volume snapshots are managed through the `/v2/snapshots/` endpoint. To delete a snapshot, send a DELETE request to `/v2/snapshots/$SNAPSHOT_ID`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.
认证
需要 Connected AccountScopes
image:deletesnapshot:deleteTags
Retrieve an Existing SnapshotDIGITALOCEAN_SNAPSHOTS_GETTo retrieve information about a snapshot, send a GET request to `/v2/snapshots/$SNAPSHOT_ID`. The response will be a JSON object with a key called `snapshot`. The value of this will be an snapshot object containing the standard snapshot attributes.需要连接2 scopes
To retrieve information about a snapshot, send a GET request to `/v2/snapshots/$SNAPSHOT_ID`. The response will be a JSON object with a key called `snapshot`. The value of this will be an snapshot object containing the standard snapshot attributes.
认证
需要 Connected AccountScopes
snapshot:readblock_storage_snapshot:readTags
List All SnapshotsDIGITALOCEAN_SNAPSHOTS_LISTTo list all of the snapshots available on your account, send a GET request to `/v2/snapshots`. The response will be a JSON object with a key called `snapshots`. This will be set to an array of `snapshot` objects, each of which will contain the standard snapshot attributes. ### Filtering Results by Resource Type It's possible to request filtered results by including certain query parameters. #### List Droplet Snapshots To retrieve only snapshots based on Droplets, include the `resource_type` query parameter set to `droplet`. For example, `/v2/snapshots?resource_type=droplet`. #### List Volume Snapshots To retrieve only snapshots based on volumes, include the `resource_type` query parameter set to `volume`. For example, `/v2/snapshots?resource_type=volume`.需要连接1 scope
To list all of the snapshots available on your account, send a GET request to `/v2/snapshots`. The response will be a JSON object with a key called `snapshots`. This will be set to an array of `snapshot` objects, each of which will contain the standard snapshot attributes. ### Filtering Results by Resource Type It's possible to request filtered results by including certain query parameters. #### List Droplet Snapshots To retrieve only snapshots based on Droplets, include the `resource_type` query parameter set to `droplet`. For example, `/v2/snapshots?resource_type=droplet`. #### List Volume Snapshots To retrieve only snapshots based on volumes, include the `resource_type` query parameter set to `volume`. For example, `/v2/snapshots?resource_type=volume`.
认证
需要 Connected AccountScopes
snapshot:readTags
Create a New Spaces Access KeyDIGITALOCEAN_SPACES_KEY_CREATETo create a new Spaces Access Key, send a POST request to `/v2/spaces/keys`. At the moment, you cannot mix a fullaccess permission with scoped permissions. A fullaccess permission will be prioritized if fullaccess and scoped permissions are both added.需要连接1 scope
To create a new Spaces Access Key, send a POST request to `/v2/spaces/keys`. At the moment, you cannot mix a fullaccess permission with scoped permissions. A fullaccess permission will be prioritized if fullaccess and scoped permissions are both added.
认证
需要 Connected AccountScopes
spaces_key:create_credentialsTags
Delete a Spaces Access KeyDIGITALOCEAN_SPACES_KEY_DELETETo delete a Spaces Access Key, send a DELETE request to `/v2/spaces/keys/$ACCESS_KEY`. A successful request will return a `204 No Content` status code.需要连接1 scope
To delete a Spaces Access Key, send a DELETE request to `/v2/spaces/keys/$ACCESS_KEY`. A successful request will return a `204 No Content` status code.
认证
需要 Connected AccountScopes
spaces_key:deleteTags
Get a Spaces Access KeyDIGITALOCEAN_SPACES_KEY_GETTo get a Spaces Access Key, send a GET request to `/v2/spaces/keys/$ACCESS_KEY`. A successful request will return the Access Key.需要连接1 scope
To get a Spaces Access Key, send a GET request to `/v2/spaces/keys/$ACCESS_KEY`. A successful request will return the Access Key.
认证
需要 Connected AccountScopes
spaces_key:readTags
List Spaces Access KeysDIGITALOCEAN_SPACES_KEY_LISTTo list Spaces Access Key, send a GET request to `/v2/spaces/keys`. Sort parameter must be used with Sort Direction.需要连接1 scope
To list Spaces Access Key, send a GET request to `/v2/spaces/keys`. Sort parameter must be used with Sort Direction.
认证
需要 Connected AccountScopes
spaces_key:readTags
Update Spaces Access KeysDIGITALOCEAN_SPACES_KEY_PATCHTo update Spaces Access Key, send a PUT or PATCH request to `/v2/spaces/keys/$ACCESS_KEY`. At the moment, you cannot convert a fullaccess key to a scoped key or vice versa. You can only update the name of the key.需要连接1 scope
To update Spaces Access Key, send a PUT or PATCH request to `/v2/spaces/keys/$ACCESS_KEY`. At the moment, you cannot convert a fullaccess key to a scoped key or vice versa. You can only update the name of the key.
认证
需要 Connected AccountScopes
spaces_key:updateTags
Update Spaces Access KeysDIGITALOCEAN_SPACES_KEY_UPDATETo update Spaces Access Key, send a PUT or PATCH request to `/v2/spaces/keys/$ACCESS_KEY`. At the moment, you cannot convert a fullaccess key to a scoped key or vice versa. You can only update the name of the key.需要连接1 scope
To update Spaces Access Key, send a PUT or PATCH request to `/v2/spaces/keys/$ACCESS_KEY`. At the moment, you cannot convert a fullaccess key to a scoped key or vice versa. You can only update the name of the key.
认证
需要 Connected AccountScopes
spaces_key:updateTags
Create a New SSH KeyDIGITALOCEAN_SSH_KEYS_CREATETo add a new SSH public key to your DigitalOcean account, send a POST request to `/v2/account/keys`. Set the `name` attribute to the name you wish to use and the `public_key` attribute to the full public key you are adding.需要连接1 scope
To add a new SSH public key to your DigitalOcean account, send a POST request to `/v2/account/keys`. Set the `name` attribute to the name you wish to use and the `public_key` attribute to the full public key you are adding.
认证
需要 Connected AccountScopes
ssh_key:createTags
Delete an SSH KeyDIGITALOCEAN_SSH_KEYS_DELETETo destroy a public SSH key that you have in your account, send a DELETE request to `/v2/account/keys/$KEY_ID` or `/v2/account/keys/$KEY_FINGERPRINT`. A 204 status will be returned, indicating that the action was successful and that the response body is empty.需要连接1 scope
To destroy a public SSH key that you have in your account, send a DELETE request to `/v2/account/keys/$KEY_ID` or `/v2/account/keys/$KEY_FINGERPRINT`. A 204 status will be returned, indicating that the action was successful and that the response body is empty.
认证
需要 Connected AccountScopes
ssh_key:deleteTags
Retrieve an Existing SSH KeyDIGITALOCEAN_SSH_KEYS_GETTo get information about a key, send a GET request to `/v2/account/keys/$KEY_ID` or `/v2/account/keys/$KEY_FINGERPRINT`. The response will be a JSON object with the key `ssh_key` and value an ssh_key object which contains the standard ssh_key attributes.需要连接1 scope
To get information about a key, send a GET request to `/v2/account/keys/$KEY_ID` or `/v2/account/keys/$KEY_FINGERPRINT`. The response will be a JSON object with the key `ssh_key` and value an ssh_key object which contains the standard ssh_key attributes.
认证
需要 Connected AccountScopes
ssh_key:readTags
List All SSH KeysDIGITALOCEAN_SSH_KEYS_LISTTo list all of the keys in your account, send a GET request to `/v2/account/keys`. The response will be a JSON object with a key set to `ssh_keys`. The value of this will be an array of ssh_key objects, each of which contains the standard ssh_key attributes.需要连接1 scope
To list all of the keys in your account, send a GET request to `/v2/account/keys`. The response will be a JSON object with a key set to `ssh_keys`. The value of this will be an array of ssh_key objects, each of which contains the standard ssh_key attributes.
认证
需要 Connected AccountScopes
ssh_key:readTags
Update an SSH Key's NameDIGITALOCEAN_SSH_KEYS_UPDATETo update the name of an SSH key, send a PUT request to either `/v2/account/keys/$SSH_KEY_ID` or `/v2/account/keys/$SSH_KEY_FINGERPRINT`. Set the `name` attribute to the new name you want to use.需要连接1 scope
To update the name of an SSH key, send a PUT request to either `/v2/account/keys/$SSH_KEY_ID` or `/v2/account/keys/$SSH_KEY_FINGERPRINT`. Set the `name` attribute to the new name you want to use.
认证
需要 Connected AccountScopes
ssh_key:updateTags
Tag a ResourceDIGITALOCEAN_TAGS_ASSIGN_RESOURCESResources can be tagged by sending a POST request to `/v2/tags/$TAG_NAME/resources` with an array of json objects containing `resource_id` and `resource_type` attributes. Currently only tagging of Droplets, Databases, Images, Volumes, and Volume Snapshots is supported. `resource_type` is expected to be the string `droplet`, `database`, `image`, `volume` or `volume_snapshot`. `resource_id` is expected to be the ID of the resource as a string. In order to tag a resource, you must have both `tag:create` and `<resource type>:update` scopes. For example, to tag a Droplet, you must have `tag:create` and `droplet:update`.需要连接1 scope
Resources can be tagged by sending a POST request to `/v2/tags/$TAG_NAME/resources` with an array of json objects containing `resource_id` and `resource_type` attributes. Currently only tagging of Droplets, Databases, Images, Volumes, and Volume Snapshots is supported. `resource_type` is expected to be the string `droplet`, `database`, `image`, `volume` or `volume_snapshot`. `resource_id` is expected to be the ID of the resource as a string. In order to tag a resource, you must have both `tag:create` and `<resource type>:update` scopes. For example, to tag a Droplet, you must have `tag:create` and `droplet:update`.
认证
需要 Connected AccountScopes
tag:createTags
Create a New TagDIGITALOCEAN_TAGS_CREATETo create a tag you can send a POST request to `/v2/tags` with a `name` attribute.需要连接1 scope
To create a tag you can send a POST request to `/v2/tags` with a `name` attribute.
认证
需要 Connected AccountScopes
tag:createTags
Delete a TagDIGITALOCEAN_TAGS_DELETEA tag can be deleted by sending a `DELETE` request to `/v2/tags/$TAG_NAME`. Deleting a tag also untags all the resources that have previously been tagged by the Tag需要连接1 scope
A tag can be deleted by sending a `DELETE` request to `/v2/tags/$TAG_NAME`. Deleting a tag also untags all the resources that have previously been tagged by the Tag
认证
需要 Connected AccountScopes
tag:deleteTags
Retrieve a TagDIGITALOCEAN_TAGS_GETTo retrieve an individual tag, you can send a `GET` request to `/v2/tags/$TAG_NAME`. This endpoint will only return tagged resources that you are authorized to see. For example, to see tagged Droplets, include the `droplet:read` scope.需要连接1 scope
To retrieve an individual tag, you can send a `GET` request to `/v2/tags/$TAG_NAME`. This endpoint will only return tagged resources that you are authorized to see. For example, to see tagged Droplets, include the `droplet:read` scope.
认证
需要 Connected AccountScopes
tag:readTags
List All TagsDIGITALOCEAN_TAGS_LISTTo list all of your tags, you can send a GET request to `/v2/tags`. This endpoint will only return tagged resources that you are authorized to see (e.g. Droplets will only be returned if you have `droplet:read`).需要连接1 scope
To list all of your tags, you can send a GET request to `/v2/tags`. This endpoint will only return tagged resources that you are authorized to see (e.g. Droplets will only be returned if you have `droplet:read`).
认证
需要 Connected AccountScopes
tag:readTags
Untag a ResourceDIGITALOCEAN_TAGS_UNASSIGN_RESOURCESResources can be untagged by sending a DELETE request to `/v2/tags/$TAG_NAME/resources` with an array of json objects containing `resource_id` and `resource_type` attributes. Currently only untagging of Droplets, Databases, Images, Volumes, and Volume Snapshots is supported. `resource_type` is expected to be the string `droplet`, `database`, `image`, `volume` or `volume_snapshot`. `resource_id` is expected to be the ID of the resource as a string. In order to untag a resource, you must have both `tag:delete` and `<resource type>:update` scopes. For example, to untag a Droplet, you must have `tag:delete` and `droplet:update`.需要连接1 scope
Resources can be untagged by sending a DELETE request to `/v2/tags/$TAG_NAME/resources` with an array of json objects containing `resource_id` and `resource_type` attributes. Currently only untagging of Droplets, Databases, Images, Volumes, and Volume Snapshots is supported. `resource_type` is expected to be the string `droplet`, `database`, `image`, `volume` or `volume_snapshot`. `resource_id` is expected to be the ID of the resource as a string. In order to untag a resource, you must have both `tag:delete` and `<resource type>:update` scopes. For example, to untag a Droplet, you must have `tag:delete` and `droplet:update`.
认证
需要 Connected AccountScopes
tag:deleteTags
Create a New AlertDIGITALOCEAN_UPTIME_CREATE_ALERTTo create an Uptime alert, send a POST request to `/v2/uptime/checks/$CHECK_ID/alerts` specifying the attributes in the table below in the JSON body.需要连接2 scopes
To create an Uptime alert, send a POST request to `/v2/uptime/checks/$CHECK_ID/alerts` specifying the attributes in the table below in the JSON body.
认证
需要 Connected AccountScopes
uptime:createuptime:updateTags
Create a New CheckDIGITALOCEAN_UPTIME_CREATE_CHECKTo create an Uptime check, send a POST request to `/v2/uptime/checks` specifying the attributes in the table below in the JSON body.需要连接1 scope
To create an Uptime check, send a POST request to `/v2/uptime/checks` specifying the attributes in the table below in the JSON body.
认证
需要 Connected AccountScopes
uptime:createTags
Delete an AlertDIGITALOCEAN_UPTIME_DELETE_ALERTTo delete an Uptime alert, send a DELETE request to `/v2/uptime/checks/$CHECK_ID/alerts/$ALERT_ID`. A 204 status code with no body will be returned in response to a successful request.需要连接2 scopes
To delete an Uptime alert, send a DELETE request to `/v2/uptime/checks/$CHECK_ID/alerts/$ALERT_ID`. A 204 status code with no body will be returned in response to a successful request.
认证
需要 Connected AccountScopes
uptime:deleteuptime:updateTags
Delete a CheckDIGITALOCEAN_UPTIME_DELETE_CHECKTo delete an Uptime check, send a DELETE request to `/v2/uptime/checks/$CHECK_ID`. A 204 status code with no body will be returned in response to a successful request. Deleting a check will also delete alerts associated with the check.需要连接1 scope
To delete an Uptime check, send a DELETE request to `/v2/uptime/checks/$CHECK_ID`. A 204 status code with no body will be returned in response to a successful request. Deleting a check will also delete alerts associated with the check.
认证
需要 Connected AccountScopes
uptime:deleteTags
Retrieve an Existing AlertDIGITALOCEAN_UPTIME_GET_ALERTTo show information about an existing alert, send a GET request to `/v2/uptime/checks/$CHECK_ID/alerts/$ALERT_ID`.需要连接1 scope
To show information about an existing alert, send a GET request to `/v2/uptime/checks/$CHECK_ID/alerts/$ALERT_ID`.
认证
需要 Connected AccountScopes
uptime:readTags
Retrieve an Existing CheckDIGITALOCEAN_UPTIME_GET_CHECKTo show information about an existing check, send a GET request to `/v2/uptime/checks/$CHECK_ID`.需要连接1 scope
To show information about an existing check, send a GET request to `/v2/uptime/checks/$CHECK_ID`.
认证
需要 Connected AccountScopes
uptime:readTags
Retrieve Check StateDIGITALOCEAN_UPTIME_GET_CHECK_STATETo show information about an existing check's state, send a GET request to `/v2/uptime/checks/$CHECK_ID/state`.需要连接1 scope
To show information about an existing check's state, send a GET request to `/v2/uptime/checks/$CHECK_ID/state`.
认证
需要 Connected AccountScopes
uptime:readTags
List All AlertsDIGITALOCEAN_UPTIME_LIST_ALERTSTo list all of the alerts for an Uptime check, send a GET request to `/v2/uptime/checks/$CHECK_ID/alerts`.需要连接1 scope
To list all of the alerts for an Uptime check, send a GET request to `/v2/uptime/checks/$CHECK_ID/alerts`.
认证
需要 Connected AccountScopes
uptime:readTags
List All ChecksDIGITALOCEAN_UPTIME_LIST_CHECKSTo list all of the Uptime checks on your account, send a GET request to `/v2/uptime/checks`.需要连接1 scope
To list all of the Uptime checks on your account, send a GET request to `/v2/uptime/checks`.
认证
需要 Connected AccountScopes
uptime:readTags
Update an AlertDIGITALOCEAN_UPTIME_UPDATE_ALERTTo update the settings of an Uptime alert, send a PUT request to `/v2/uptime/checks/$CHECK_ID/alerts/$ALERT_ID`.需要连接1 scope
To update the settings of an Uptime alert, send a PUT request to `/v2/uptime/checks/$CHECK_ID/alerts/$ALERT_ID`.
认证
需要 Connected AccountScopes
uptime:updateTags
Update a CheckDIGITALOCEAN_UPTIME_UPDATE_CHECKTo update the settings of an Uptime check, send a PUT request to `/v2/uptime/checks/$CHECK_ID`.需要连接1 scope
To update the settings of an Uptime check, send a PUT request to `/v2/uptime/checks/$CHECK_ID`.
认证
需要 Connected AccountScopes
uptime:updateTags
Create a New Vector DatabaseDIGITALOCEAN_VECTOR_DATABASES_CREATETo create a vector database, send a POST request to `/v2/vector-databases`. The response body contains a JSON object with a `vector_db` key holding the newly created database. Its initial `status` is `creating` and changes to `active` once the database is ready to receive traffic.需要连接1 scope
To create a vector database, send a POST request to `/v2/vector-databases`. The response body contains a JSON object with a `vector_db` key holding the newly created database. Its initial `status` is `creating` and changes to `active` once the database is ready to receive traffic.
认证
需要 Connected AccountScopes
database:createTags
Delete a Vector DatabaseDIGITALOCEAN_VECTOR_DATABASES_DELETETo delete a vector database, send a DELETE request to `/v2/vector-databases/{id}`. Deleting a vector database is irreversible and destroys the underlying instance along with its data.需要连接1 scope
To delete a vector database, send a DELETE request to `/v2/vector-databases/{id}`. Deleting a vector database is irreversible and destroys the underlying instance along with its data.
认证
需要 Connected AccountScopes
database:deleteTags
Retrieve an Existing Vector DatabaseDIGITALOCEAN_VECTOR_DATABASES_GETTo show information about an existing vector database, send a GET request to `/v2/vector-databases/{id}`. The response body contains a JSON object with a `vector_db` key holding the standard vector database attributes, including an embedded `endpoints` object with the connection information needed to access the database.需要连接1 scope
To show information about an existing vector database, send a GET request to `/v2/vector-databases/{id}`. The response body contains a JSON object with a `vector_db` key holding the standard vector database attributes, including an embedded `endpoints` object with the connection information needed to access the database.
认证
需要 Connected AccountScopes
database:readTags
Retrieve Admin Credentials for a Vector DatabaseDIGITALOCEAN_VECTOR_DATABASES_GET_CREDENTIALSTo retrieve the admin credentials for a vector database, send a GET request to `/v2/vector-databases/{id}/credentials`. The response body contains the `user_id` and `api_token` for the admin user provisioned on the cluster.需要连接1 scope
To retrieve the admin credentials for a vector database, send a GET request to `/v2/vector-databases/{id}/credentials`. The response body contains the `user_id` and `api_token` for the admin user provisioned on the cluster.
认证
需要 Connected AccountScopes
database:view_credentialsTags
Retrieve the Status of a RestoreDIGITALOCEAN_VECTOR_DATABASES_GET_RESTORE_STATUSTo check the status of a restore operation, send a GET request to `/v2/vector-databases/{id}/backups/{backup_id}/restore`. The response body contains the current status of the restore.需要连接1 scope
To check the status of a restore operation, send a GET request to `/v2/vector-databases/{id}/backups/{backup_id}/restore`. The response body contains the current status of the restore.
认证
需要 Connected AccountScopes
database:readTags
List All Vector DatabasesDIGITALOCEAN_VECTOR_DATABASES_LISTTo list all of the vector databases on your account, send a GET request to `/v2/vector-databases`. Use the `page` and `per_page` query parameters to paginate the results. The response body contains a `vector_dbs` array of vector database objects and a `total` field with the overall count.需要连接1 scope
To list all of the vector databases on your account, send a GET request to `/v2/vector-databases`. Use the `page` and `per_page` query parameters to paginate the results. The response body contains a `vector_dbs` array of vector database objects and a `total` field with the overall count.
认证
需要 Connected AccountScopes
database:readTags
List Backups for a Vector DatabaseDIGITALOCEAN_VECTOR_DATABASES_LIST_BACKUPSTo list the available backups for a vector database, send a GET request to `/v2/vector-databases/{id}/backups`. Only backups with a status of `SUCCESS` are returned.需要连接1 scope
To list the available backups for a vector database, send a GET request to `/v2/vector-databases/{id}/backups`. Only backups with a status of `SUCCESS` are returned.
认证
需要 Connected AccountScopes
database:readTags
Resize a Vector DatabaseDIGITALOCEAN_VECTOR_DATABASES_POST_RESIZETo resize a vector database, send a POST request to `/v2/vector-databases/{id}/resize`. This changes the database's resource tier. The response body contains a JSON object with the updated vector database.需要连接1 scope
To resize a vector database, send a POST request to `/v2/vector-databases/{id}/resize`. This changes the database's resource tier. The response body contains a JSON object with the updated vector database.
认证
需要 Connected AccountScopes
database:updateTags
Restore a Vector Database from a BackupDIGITALOCEAN_VECTOR_DATABASES_POST_RESTORE_BACKUPTo restore a vector database from a backup, send a POST request to `/v2/vector-databases/{id}/backups/{backup_id}/restore`. The restore runs asynchronously; use the restore-status endpoint to monitor its progress.需要连接1 scope
To restore a vector database from a backup, send a POST request to `/v2/vector-databases/{id}/backups/{backup_id}/restore`. The restore runs asynchronously; use the restore-status endpoint to monitor its progress.
认证
需要 Connected AccountScopes
database:updateTags
Update a Vector DatabaseDIGITALOCEAN_VECTOR_DATABASES_UPDATETo update an existing vector database, send a PUT request to `/v2/vector-databases/{id}`. The response body contains a JSON object with a `vector_db` key holding the updated vector database.需要连接1 scope
To update an existing vector database, send a PUT request to `/v2/vector-databases/{id}`. The response body contains a JSON object with a `vector_db` key holding the updated vector database.
认证
需要 Connected AccountScopes
database:updateTags
Update Tags on a Vector DatabaseDIGITALOCEAN_VECTOR_DATABASES_UPDATE_TAGSTo update the tags on a vector database, send a PUT request to `/v2/vector-databases/{id}/tags`. The supplied set of tags replaces the database's existing tags.需要连接1 scope
To update the tags on a vector database, send a PUT request to `/v2/vector-databases/{id}/tags`. The supplied set of tags replaces the database's existing tags.
认证
需要 Connected AccountScopes
database:updateTags
Retrieve an Existing Volume ActionDIGITALOCEAN_VOLUME_ACTIONS_GETTo retrieve the status of a volume action, send a GET request to `/v2/volumes/$VOLUME_ID/actions/$ACTION_ID`.需要连接1 scope
To retrieve the status of a volume action, send a GET request to `/v2/volumes/$VOLUME_ID/actions/$ACTION_ID`.
认证
需要 Connected AccountScopes
block_storage_action:readTags
List All Actions for a VolumeDIGITALOCEAN_VOLUME_ACTIONS_LISTTo retrieve all actions that have been executed on a volume, send a GET request to `/v2/volumes/$VOLUME_ID/actions`.需要连接1 scope
To retrieve all actions that have been executed on a volume, send a GET request to `/v2/volumes/$VOLUME_ID/actions`.
认证
需要 Connected AccountScopes
block_storage_action:readTags
Initiate A Block Storage Action By Volume NameDIGITALOCEAN_VOLUME_ACTIONS_POSTTo initiate an action on a block storage volume by Name, send a POST request to `~/v2/volumes/actions`. The body should contain the appropriate attributes for the respective action. ## Attach a Block Storage Volume to a Droplet | Attribute | Details | | ----------- | ------------------------------------------------------------------- | | type | This must be `attach` | | volume_name | The name of the block storage volume | | droplet_id | Set to the Droplet's ID | | region | Set to the slug representing the region where the volume is located | Each volume may only be attached to a single Droplet. However, up to fifteen volumes may be attached to a Droplet at a time. Pre-formatted volumes will be automatically mounted to Ubuntu, Debian, Fedora, Fedora Atomic, and CentOS Droplets created on or after April 26, 2018 when attached. On older Droplets, [additional configuration](https://docs.digitalocean.com/products/volumes/how-to/mount/) is required. ## Remove a Block Storage Volume from a Droplet | Attribute | Details | | ----------- | ------------------------------------------------------------------- | | type | This must be `detach` | | volume_name | The name of the block storage volume | | droplet_id | Set to the Droplet's ID | | region | Set to the slug representing the region where the volume is located |需要连接2 scopes
To initiate an action on a block storage volume by Name, send a POST request to `~/v2/volumes/actions`. The body should contain the appropriate attributes for the respective action. ## Attach a Block Storage Volume to a Droplet | Attribute | Details | | ----------- | ------------------------------------------------------------------- | | type | This must be `attach` | | volume_name | The name of the block storage volume | | droplet_id | Set to the Droplet's ID | | region | Set to the slug representing the region where the volume is located | Each volume may only be attached to a single Droplet. However, up to fifteen volumes may be attached to a Droplet at a time. Pre-formatted volumes will be automatically mounted to Ubuntu, Debian, Fedora, Fedora Atomic, and CentOS Droplets created on or after April 26, 2018 when attached. On older Droplets, [additional configuration](https://docs.digitalocean.com/products/volumes/how-to/mount/) is required. ## Remove a Block Storage Volume from a Droplet | Attribute | Details | | ----------- | ------------------------------------------------------------------- | | type | This must be `detach` | | volume_name | The name of the block storage volume | | droplet_id | Set to the Droplet's ID | | region | Set to the slug representing the region where the volume is located |
认证
需要 Connected AccountScopes
block_storage_action:createapi:writeTags
Initiate A Block Storage Action By Volume IdDIGITALOCEAN_VOLUME_ACTIONS_POST_BY_IDTo initiate an action on a block storage volume by Id, send a POST request to `~/v2/volumes/$VOLUME_ID/actions`. The body should contain the appropriate attributes for the respective action. ## Attach a Block Storage Volume to a Droplet | Attribute | Details | | ---------- | ------------------------------------------------------------------- | | type | This must be `attach` | | droplet_id | Set to the Droplet's ID | | region | Set to the slug representing the region where the volume is located | Each volume may only be attached to a single Droplet. However, up to fifteen volumes may be attached to a Droplet at a time. Pre-formatted volumes will be automatically mounted to Ubuntu, Debian, Fedora, Fedora Atomic, and CentOS Droplets created on or after April 26, 2018 when attached. On older Droplets, [additional configuration](https://docs.digitalocean.com/products/volumes/how-to/mount/) is required. ## Remove a Block Storage Volume from a Droplet | Attribute | Details | | ---------- | ------------------------------------------------------------------- | | type | This must be `detach` | | droplet_id | Set to the Droplet's ID | | region | Set to the slug representing the region where the volume is located | ## Resize a Volume | Attribute | Details | | -------------- | ------------------------------------------------------------------- | | type | This must be `resize` | | size_gigabytes | The new size of the block storage volume in GiB (1024^3) | | region | Set to the slug representing the region where the volume is located | Volumes may only be resized upwards. The maximum size for a volume is 16TiB.需要连接1 scope
To initiate an action on a block storage volume by Id, send a POST request to `~/v2/volumes/$VOLUME_ID/actions`. The body should contain the appropriate attributes for the respective action. ## Attach a Block Storage Volume to a Droplet | Attribute | Details | | ---------- | ------------------------------------------------------------------- | | type | This must be `attach` | | droplet_id | Set to the Droplet's ID | | region | Set to the slug representing the region where the volume is located | Each volume may only be attached to a single Droplet. However, up to fifteen volumes may be attached to a Droplet at a time. Pre-formatted volumes will be automatically mounted to Ubuntu, Debian, Fedora, Fedora Atomic, and CentOS Droplets created on or after April 26, 2018 when attached. On older Droplets, [additional configuration](https://docs.digitalocean.com/products/volumes/how-to/mount/) is required. ## Remove a Block Storage Volume from a Droplet | Attribute | Details | | ---------- | ------------------------------------------------------------------- | | type | This must be `detach` | | droplet_id | Set to the Droplet's ID | | region | Set to the slug representing the region where the volume is located | ## Resize a Volume | Attribute | Details | | -------------- | ------------------------------------------------------------------- | | type | This must be `resize` | | size_gigabytes | The new size of the block storage volume in GiB (1024^3) | | region | Set to the slug representing the region where the volume is located | Volumes may only be resized upwards. The maximum size for a volume is 16TiB.
认证
需要 Connected AccountScopes
block_storage_action:createTags
Create Snapshot from a VolumeDIGITALOCEAN_VOLUME_SNAPSHOTS_CREATETo create a snapshot from a volume, sent a POST request to `/v2/volumes/$VOLUME_ID/snapshots`.需要连接1 scope
To create a snapshot from a volume, sent a POST request to `/v2/volumes/$VOLUME_ID/snapshots`.
认证
需要 Connected AccountScopes
block_storage_snapshot:createTags
Delete a Volume SnapshotDIGITALOCEAN_VOLUME_SNAPSHOTS_DELETE_BY_IDTo delete a volume snapshot, send a DELETE request to `/v2/volumes/snapshots/$VOLUME_SNAPSHOT_ID`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.需要连接1 scope
To delete a volume snapshot, send a DELETE request to `/v2/volumes/snapshots/$VOLUME_SNAPSHOT_ID`. A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.
认证
需要 Connected AccountScopes
block_storage_snapshot:deleteTags
Retrieve an Existing Volume SnapshotDIGITALOCEAN_VOLUME_SNAPSHOTS_GET_BY_IDTo retrieve the details of a snapshot that has been created from a volume, send a GET request to `/v2/volumes/snapshots/$VOLUME_SNAPSHOT_ID`.需要连接1 scope
To retrieve the details of a snapshot that has been created from a volume, send a GET request to `/v2/volumes/snapshots/$VOLUME_SNAPSHOT_ID`.
认证
需要 Connected AccountScopes
block_storage_snapshot:readTags
List Snapshots for a VolumeDIGITALOCEAN_VOLUME_SNAPSHOTS_LISTTo retrieve the snapshots that have been created from a volume, send a GET request to `/v2/volumes/$VOLUME_ID/snapshots`.需要连接1 scope
To retrieve the snapshots that have been created from a volume, send a GET request to `/v2/volumes/$VOLUME_ID/snapshots`.
认证
需要 Connected AccountScopes
block_storage_snapshot:readTags
Create a New Block Storage VolumeDIGITALOCEAN_VOLUMES_CREATETo create a new volume, send a POST request to `/v2/volumes`. Optionally, a `filesystem_type` attribute may be provided in order to automatically format the volume's filesystem. Pre-formatted volumes are automatically mounted when attached to Ubuntu, Debian, Fedora, Fedora Atomic, and CentOS Droplets created on or after April 26, 2018. Attaching pre-formatted volumes to Droplets without support for auto-mounting is not recommended.需要连接2 scopes
To create a new volume, send a POST request to `/v2/volumes`. Optionally, a `filesystem_type` attribute may be provided in order to automatically format the volume's filesystem. Pre-formatted volumes are automatically mounted when attached to Ubuntu, Debian, Fedora, Fedora Atomic, and CentOS Droplets created on or after April 26, 2018. Attaching pre-formatted volumes to Droplets without support for auto-mounting is not recommended.
认证
需要 Connected AccountScopes
api:writeblock_storage:createTags
Delete a Block Storage VolumeDIGITALOCEAN_VOLUMES_DELETETo delete a block storage volume, destroying all data and removing it from your account, send a DELETE request to `/v2/volumes/$VOLUME_ID`. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.需要连接1 scope
To delete a block storage volume, destroying all data and removing it from your account, send a DELETE request to `/v2/volumes/$VOLUME_ID`. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
认证
需要 Connected AccountScopes
block_storage:deleteTags
Delete a Block Storage Volume by NameDIGITALOCEAN_VOLUMES_DELETE_BY_NAMEBlock storage volumes may also be deleted by name by sending a DELETE request with the volume's **name** and the **region slug** for the region it is located in as query parameters to `/v2/volumes?name=$VOLUME_NAME®ion=nyc1`. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.需要连接2 scopes
Block storage volumes may also be deleted by name by sending a DELETE request with the volume's **name** and the **region slug** for the region it is located in as query parameters to `/v2/volumes?name=$VOLUME_NAME®ion=nyc1`. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
认证
需要 Connected AccountScopes
block_storage:deleteapi:writeTags
Retrieve an Existing Block Storage VolumeDIGITALOCEAN_VOLUMES_GETTo show information about a block storage volume, send a GET request to `/v2/volumes/$VOLUME_ID`.需要连接1 scope
To show information about a block storage volume, send a GET request to `/v2/volumes/$VOLUME_ID`.
认证
需要 Connected AccountScopes
block_storage:readTags
List All Block Storage VolumesDIGITALOCEAN_VOLUMES_LISTTo list all of the block storage volumes available on your account, send a GET request to `/v2/volumes`. ## Filtering Results ### By Region The `region` may be provided as query parameter in order to restrict results to volumes available in a specific region. For example: `/v2/volumes?region=nyc1` ### By Name It is also possible to list volumes on your account that match a specified name. To do so, send a GET request with the volume's name as a query parameter to `/v2/volumes?name=$VOLUME_NAME`. **Note:** You can only create one volume per region with the same name. ### By Name and Region It is also possible to retrieve information about a block storage volume by name. To do so, send a GET request with the volume's name and the region slug for the region it is located in as query parameters to `/v2/volumes?name=$VOLUME_NAME®ion=nyc1`.需要连接3 scopes
To list all of the block storage volumes available on your account, send a GET request to `/v2/volumes`. ## Filtering Results ### By Region The `region` may be provided as query parameter in order to restrict results to volumes available in a specific region. For example: `/v2/volumes?region=nyc1` ### By Name It is also possible to list volumes on your account that match a specified name. To do so, send a GET request with the volume's name as a query parameter to `/v2/volumes?name=$VOLUME_NAME`. **Note:** You can only create one volume per region with the same name. ### By Name and Region It is also possible to retrieve information about a block storage volume by name. To do so, send a GET request with the volume's name and the region slug for the region it is located in as query parameters to `/v2/volumes?name=$VOLUME_NAME®ion=nyc1`.
认证
需要 Connected AccountScopes
api:readapi:writeblock_storage:readTags
Create a New VPC PeeringDIGITALOCEAN_VPC_PEERINGS_CREATETo create a new VPC Peering, send a POST request to `/v2/vpc_peerings` specifying a name and a list of two VPC IDs to peer. The response code, 202 Accepted, does not indicate the success or failure of the operation, just that the request has been accepted for processing.需要连接1 scope
To create a new VPC Peering, send a POST request to `/v2/vpc_peerings` specifying a name and a list of two VPC IDs to peer. The response code, 202 Accepted, does not indicate the success or failure of the operation, just that the request has been accepted for processing.
认证
需要 Connected AccountScopes
vpc_peering:createTags
Delete a VPC peeringDIGITALOCEAN_VPC_PEERINGS_DELETETo delete a VPC peering, send a DELETE request to `/v2/vpc_peerings/$VPC_PEERING_ID`.需要连接1 scope
To delete a VPC peering, send a DELETE request to `/v2/vpc_peerings/$VPC_PEERING_ID`.
认证
需要 Connected AccountScopes
vpc_peering:deleteTags
Retrieve an Existing VPC PeeringDIGITALOCEAN_VPC_PEERINGS_GETTo show information about an existing VPC Peering, send a GET request to `/v2/vpc_peerings/$VPC_PEERING_ID`.需要连接1 scope
To show information about an existing VPC Peering, send a GET request to `/v2/vpc_peerings/$VPC_PEERING_ID`.
认证
需要 Connected AccountScopes
vpc_peering:readTags
List All VPC PeeringsDIGITALOCEAN_VPC_PEERINGS_LISTTo list all of the VPC peerings on your account, send a GET request to `/v2/vpc_peerings`.需要连接1 scope
To list all of the VPC peerings on your account, send a GET request to `/v2/vpc_peerings`.
认证
需要 Connected AccountScopes
vpc_peering:readTags
Update a VPC peeringDIGITALOCEAN_VPC_PEERINGS_PATCHTo update the name of a VPC peering, send a PATCH request to `/v2/vpc_peerings/$VPC_PEERING_ID` with the new `name` in the request body.需要连接1 scope
To update the name of a VPC peering, send a PATCH request to `/v2/vpc_peerings/$VPC_PEERING_ID` with the new `name` in the request body.
认证
需要 Connected AccountScopes
vpc_peering:updateTags
Create a New VPC NAT GatewayDIGITALOCEAN_VPCNATGATEWAYS_CREATETo create a new VPC NAT gateway, send a POST request to `/v2/vpc_nat_gateways` setting the required attributes. The response body will contain a JSON object with a key called `vpc_nat_gateway` containing the standard attributes for the new VPC NAT gateway.需要连接1 scope
To create a new VPC NAT gateway, send a POST request to `/v2/vpc_nat_gateways` setting the required attributes. The response body will contain a JSON object with a key called `vpc_nat_gateway` containing the standard attributes for the new VPC NAT gateway.
认证
需要 Connected AccountScopes
nat_gateway:createTags
Delete VPC NAT GatewayDIGITALOCEAN_VPCNATGATEWAYS_DELETETo destroy a VPC NAT Gateway, send a DELETE request to the `/v2/vpc_nat_gateways/$VPC_NAT_GATEWAY_ID` endpoint. A successful response will include a 202 response code and no content.需要连接1 scope
To destroy a VPC NAT Gateway, send a DELETE request to the `/v2/vpc_nat_gateways/$VPC_NAT_GATEWAY_ID` endpoint. A successful response will include a 202 response code and no content.
认证
需要 Connected AccountScopes
nat_gateway:deleteTags
Retrieve an Existing VPC NAT GatewayDIGITALOCEAN_VPCNATGATEWAYS_GETTo show information about an individual VPC NAT gateway, send a GET request to `/v2/vpc_nat_gateways/$VPC_NAT_GATEWAY_ID`.需要连接1 scope
To show information about an individual VPC NAT gateway, send a GET request to `/v2/vpc_nat_gateways/$VPC_NAT_GATEWAY_ID`.
认证
需要 Connected AccountScopes
nat_gateway:readTags
List All VPC NAT GatewaysDIGITALOCEAN_VPCNATGATEWAYS_LISTTo list all VPC NAT gateways in your team, send a GET request to `/v2/vpc_nat_gateways`. The response body will be a JSON object with a key of `vpc_nat_gateways` containing an array of VPC NAT gateway objects. These each contain the standard VPC NAT gateway attributes.需要连接1 scope
To list all VPC NAT gateways in your team, send a GET request to `/v2/vpc_nat_gateways`. The response body will be a JSON object with a key of `vpc_nat_gateways` containing an array of VPC NAT gateway objects. These each contain the standard VPC NAT gateway attributes.
认证
需要 Connected AccountScopes
nat_gateway:readTags
Update VPC NAT GatewayDIGITALOCEAN_VPCNATGATEWAYS_UPDATETo update the configuration of an existing VPC NAT Gateway, send a PUT request to `/v2/vpc_nat_gateways/$VPC_NAT_GATEWAY_ID`. The request must contain a full representation of the VPC NAT Gateway including existing attributes.需要连接1 scope
To update the configuration of an existing VPC NAT Gateway, send a PUT request to `/v2/vpc_nat_gateways/$VPC_NAT_GATEWAY_ID`. The request must contain a full representation of the VPC NAT Gateway including existing attributes.
认证
需要 Connected AccountScopes
nat_gateway:updateTags
Create a New VPCDIGITALOCEAN_VPCS_CREATETo create a VPC, send a POST request to `/v2/vpcs` specifying the attributes in the table below in the JSON body. **Note:** If you do not currently have a VPC network in a specific datacenter region, the first one that you create will be set as the default for that region. The default VPC for a region cannot be changed or deleted.需要连接1 scope
To create a VPC, send a POST request to `/v2/vpcs` specifying the attributes in the table below in the JSON body. **Note:** If you do not currently have a VPC network in a specific datacenter region, the first one that you create will be set as the default for that region. The default VPC for a region cannot be changed or deleted.
认证
需要 Connected AccountScopes
vpc:createTags
Create a Peering with a VPCDIGITALOCEAN_VPCS_CREATE_PEERINGSTo create a new VPC peering for a given VPC, send a POST request to `/v2/vpcs/$VPC_ID/peerings`.需要连接1 scope
To create a new VPC peering for a given VPC, send a POST request to `/v2/vpcs/$VPC_ID/peerings`.
认证
需要 Connected AccountScopes
vpc_peering:createTags
Delete a VPCDIGITALOCEAN_VPCS_DELETETo delete a VPC, send a DELETE request to `/v2/vpcs/$VPC_ID`. A 204 status code with no body will be returned in response to a successful request. The default VPC for a region can not be deleted. Additionally, a VPC can only be deleted if it does not contain any member resources. Attempting to delete a region's default VPC or a VPC that still has members will result in a 403 Forbidden error response.需要连接1 scope
To delete a VPC, send a DELETE request to `/v2/vpcs/$VPC_ID`. A 204 status code with no body will be returned in response to a successful request. The default VPC for a region can not be deleted. Additionally, a VPC can only be deleted if it does not contain any member resources. Attempting to delete a region's default VPC or a VPC that still has members will result in a 403 Forbidden error response.
认证
需要 Connected AccountScopes
vpc:deleteTags
Retrieve an Existing VPCDIGITALOCEAN_VPCS_GETTo show information about an existing VPC, send a GET request to `/v2/vpcs/$VPC_ID`.需要连接1 scope
To show information about an existing VPC, send a GET request to `/v2/vpcs/$VPC_ID`.
认证
需要 Connected AccountScopes
vpc:readTags
List All VPCsDIGITALOCEAN_VPCS_LISTTo list all of the VPCs on your account, send a GET request to `/v2/vpcs`.需要连接1 scope
To list all of the VPCs on your account, send a GET request to `/v2/vpcs`.
认证
需要 Connected AccountScopes
vpc:readTags
List the Member Resources of a VPCDIGITALOCEAN_VPCS_LIST_MEMBERSTo list all of the resources that are members of a VPC, send a GET request to `/v2/vpcs/$VPC_ID/members`. To only list resources of a specific type that are members of the VPC, included a `resource_type` query parameter. For example, to only list Droplets in the VPC, send a GET request to `/v2/vpcs/$VPC_ID/members?resource_type=droplet`. Only resources that you are authorized to see will be returned (e.g. to see Droplets, you must have `droplet:read`).需要连接1 scope
To list all of the resources that are members of a VPC, send a GET request to `/v2/vpcs/$VPC_ID/members`. To only list resources of a specific type that are members of the VPC, included a `resource_type` query parameter. For example, to only list Droplets in the VPC, send a GET request to `/v2/vpcs/$VPC_ID/members?resource_type=droplet`. Only resources that you are authorized to see will be returned (e.g. to see Droplets, you must have `droplet:read`).
认证
需要 Connected AccountScopes
vpc:readTags
List the Peerings of a VPCDIGITALOCEAN_VPCS_LIST_PEERINGSTo list all of a VPC's peerings, send a GET request to `/v2/vpcs/$VPC_ID/peerings`.需要连接1 scope
To list all of a VPC's peerings, send a GET request to `/v2/vpcs/$VPC_ID/peerings`.
认证
需要 Connected AccountScopes
vpc_peering:readTags
Partially Update a VPCDIGITALOCEAN_VPCS_PATCHTo update a subset of information about a VPC, send a PATCH request to `/v2/vpcs/$VPC_ID`.需要连接1 scope
To update a subset of information about a VPC, send a PATCH request to `/v2/vpcs/$VPC_ID`.
认证
需要 Connected AccountScopes
vpc:updateTags
Update a VPC PeeringDIGITALOCEAN_VPCS_PATCH_PEERINGSTo update the name of a VPC peering in a particular VPC, send a PATCH request to `/v2/vpcs/$VPC_ID/peerings/$VPC_PEERING_ID` with the new `name` in the request body.需要连接1 scope
To update the name of a VPC peering in a particular VPC, send a PATCH request to `/v2/vpcs/$VPC_ID/peerings/$VPC_PEERING_ID` with the new `name` in the request body.
认证
需要 Connected AccountScopes
vpc_peering:updateTags
Update a VPCDIGITALOCEAN_VPCS_UPDATETo update information about a VPC, send a PUT request to `/v2/vpcs/$VPC_ID`.需要连接1 scope
To update information about a VPC, send a PUT request to `/v2/vpcs/$VPC_ID`.
认证
需要 Connected AccountScopes
vpc:updateTags