deleteFunctionsByNameWithHttpInfo method
Removes one of the caller org's functions and answers 204.
Removes one of the caller org's functions and answers 204. A name this org does not hold is 404 — never a silent success — and a name belonging to another tenant is the same 404, because the delete is predicated on the validated org.
Note: This method returns the HTTP Response.
Parameters:
- String name (required): Name is the function the URL names.
Implementation
Future<Response> deleteFunctionsByNameWithHttpInfo(String name,) async {
// ignore: prefer_const_declarations
final path = r'/v1/functions/{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,
);
}