deleteScriptsIDWithHttpInfo method
Delete a script
Deletes a script and all associated records.
Note: This method returns the HTTP Response
.
Parameters:
- String scriptID (required): The ID of the script to delete.
Implementation
Future<Response> deleteScriptsIDWithHttpInfo(
String scriptID,
) async {
final path = r'/scripts/{scriptID}'.replaceAll('{scriptID}', scriptID);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const authNames = <String>['TokenAuthentication'];
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes[0],
authNames,
);
}