@digitalocean/dots - v1.0.1
    Preparing search index...

    Builds and executes requests for operations under /v2/load_balancers/{lb_id}/cache

    interface CacheRequestBuilder {
        delete(
            requestConfiguration?: RequestConfiguration<object>,
        ): Promise<void>;
        toDeleteRequestInformation(
            requestConfiguration?: RequestConfiguration<object>,
        ): RequestInformation;
        withUrl(rawUrl: string): CacheRequestBuilder;
    }

    Hierarchy

    Index

    Methods

    • 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

      • OptionalrequestConfiguration: RequestConfiguration<object>

        Configuration for the request such as headers, query parameters, and middleware options.

      Returns Promise<void>

      error when the service returns a 401 status code

      error when the service returns a 404 status code

      error when the service returns a 429 status code

      error when the service returns a 500 status code

      error when the service returns a 4XX or 5XX status code

    • 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

      • OptionalrequestConfiguration: RequestConfiguration<object>

        Configuration for the request such as headers, query parameters, and middleware options.

      Returns RequestInformation

    • Parameters

      • rawUrl: string

      Returns CacheRequestBuilder