MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / Delete

Method Delete

pkg/api/http.go:60–62  ·  view source on GitHub ↗

Delete performs a DELETE request to the Proxmox API.

(ctx context.Context, path string, result *map[string]interface{})

Source from the content-addressed store, hash-verified

58
59// Delete performs a DELETE request to the Proxmox API.
60func (hc *HTTPClient) Delete(ctx context.Context, path string, result *map[string]interface{}) error {
61 return hc.doRequest(ctx, "DELETE", path, nil, result)
62}
63
64// GetWithRetry performs a GET request with retry logic.
65func (hc *HTTPClient) GetWithRetry(ctx context.Context, path string, result *map[string]interface{}, maxRetries int) error {

Callers 1

Calls 1

doRequestMethod · 0.95

Tested by 1