apiV2UsersProfileUserProfilePartialUpdateWithHttpInfo method
Future<Response>
apiV2UsersProfileUserProfilePartialUpdateWithHttpInfo({
- PatchedUserProfileUpdateRequestDTO? patchedUserProfileUpdateRequestDTO,
Performs an HTTP 'PATCH /api/v2/users/profile/user_profile/' operation and returns the Response.
Parameters:
- PatchedUserProfileUpdateRequestDTO patchedUserProfileUpdateRequestDTO:
Implementation
Future<Response> apiV2UsersProfileUserProfilePartialUpdateWithHttpInfo({ PatchedUserProfileUpdateRequestDTO? patchedUserProfileUpdateRequestDTO, }) async {
// ignore: prefer_const_declarations
final path = r'/api/v2/users/profile/user_profile/';
// ignore: prefer_final_locals
Object? postBody = patchedUserProfileUpdateRequestDTO;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
return apiClient.invokeAPI(
path,
'PATCH',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}