Skip to content
  • Auto
  • Light
  • Dark

Delete Cache

Delete a Global Load Balancer CDN Cache
gpu_droplets.load_balancers.delete_cache(strlb_id)
delete/v2/load_balancers/{lb_id}/cache

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.

Parameters
lb_idstr
minimum1
from do_gradientai import GradientAI

client = GradientAI()
client.gpu_droplets.load_balancers.delete_cache(
    "lb_id",
)