deleteProvisioningDocdbByNameWithHttpInfo method
DropDocDB deprovisions one Hanzo DocDB database.
DropDocDB deprovisions one Hanzo DocDB database. It reverts any app instance bound to it back to Base BEFORE tearing down the org's dedicated FerretDB instance, then deletes the sealed credential and removes the metadata row. Answers 204 with no body; a second call is a 404.
Note: This method returns the HTTP Response.
Parameters:
- String name (required): Name is the resource's org-unique slug, from the path. Lower-cased and trimmed before lookup, exactly as it was at create.
Implementation
Future<Response> deleteProvisioningDocdbByNameWithHttpInfo(String name,) async {
// ignore: prefer_const_declarations
final path = r'/v1/provisioning/docdb/{name}'
.replaceAll('{name}', name);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}