updateSignUpWithHttpInfo method
Future<Response>
updateSignUpWithHttpInfo(
- String id, {
- UpdateSignUpRequest? updateSignUpRequest,
Update a sign-up
Update the sign-up with the given ID
Note: This method returns the HTTP Response
.
Parameters:
-
String id (required): The ID of the sign-up to update
-
UpdateSignUpRequest updateSignUpRequest:
Implementation
Future<http.Response> updateSignUpWithHttpInfo(
String id, {
UpdateSignUpRequest? updateSignUpRequest,
}) async {
// ignore: prefer_const_declarations
final path = r'/sign_ups/{id}'.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = updateSignUpRequest;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PATCH',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}