deleteProvisioningVectorByNameWithHttpInfo method

Future<Response> deleteProvisioningVectorByNameWithHttpInfo(
  1. String name
)

Deletes one vector collection from the shared backend and removes its metadata row.

Deletes one vector collection from the shared backend and removes its 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> deleteProvisioningVectorByNameWithHttpInfo(String name,) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/provisioning/vector/{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,
  );
}