ApiBaseDeleteAsync Method
Sends a DELETE request to the specified URL.
Namespace: GenerativeAI.CoreAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
protected Task<bool> DeleteAsync(
string url,
CancellationToken cancellationToken = default
)
- url String
- The full URL of the API endpoint.
- cancellationToken CancellationToken (Optional)
- Token to propagate notification that the operation should be canceled.
TaskBooleanA boolean indicating success of the operation.