projectsUpdateWithHttpInfo method
Change project and settings.
Note: This method returns the HTTP Response
.
Parameters:
-
String id (required): A UUID string identifying this Project.
-
ProjectUpdate projectUpdate (required):
Implementation
Future<Response> projectsUpdateWithHttpInfo(
String id,
ProjectUpdate projectUpdate,
) async {
// ignore: prefer_const_declarations
final path = r'/api/projects/{id}/'.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = projectUpdate;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PUT',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}