apiV2ProjectsProjectIdAttributesTemplatesTemplateIdDeleteWithHttpInfo method
Delete CustomAttributeTemplate from Project
Use case User sets project internal or global identifier User sets attribute template internal identifier User runs method execution System delete attribute template from project
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> apiV2ProjectsProjectIdAttributesTemplatesTemplateIdDeleteWithHttpInfo(String projectId, String templateId,) async {
// ignore: prefer_const_declarations
final path = r'/api/v2/projects/{projectId}/attributes/templates/{templateId}'
.replaceAll('{projectId}', projectId)
.replaceAll('{templateId}', templateId);
// 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,
);
}