For AI agents: The documentation index is at https://docs.digitalocean.com/llms.txt. Markdown versions of pages use the same URL with index.html.md in place of the HTML page (for example, append index.html.md to the directory path instead of opening the HTML document).
Usage
client.v2.actionGateway.toolbelts.byName(name).delete(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | Toolbelt_update_response>
Description
Marks the toolbelt deleted and returns its latest version with status deprecated. Its versions stay readable by explicit version until the name is reused. The name is free to reuse immediately; a new toolbelt with it starts a fresh version history. Returns 404 when the toolbelt does not exist or is already deleted.
Parameters
name string required
Example: search-toolbelt
Toolbelt name.
Request Sample
Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
createDigitalOceanClient,
DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";
const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);
const response = await client.v2.actionGateway.toolbelts
.byName("search-toolbelt").delete();
Response Example
Show Response Example
{
"toolbelt": {
"name": "search-toolbelt",
"version": "1",
"display_name": "Search Tools",
"description": "Tools for searching and fetching public web pages.",
"tools": [
"exa_web_fetch@1",
"exa_web_search@1"
],
"status": "deprecated",
"reference": "search-toolbelt@1",
"reference_latest": "search-toolbelt",
"tool_count": 2,
"created_at": "2026-06-11T12:00:00Z",
"updated_at": "2026-06-15T10:00:00Z"
}
}
See /v2/action-gateway/toolbelts/{name} in the API reference for additional detail on responses, headers, parameters, and more.