coreUsersProxyCreateWithHttpInfo method

Future<Response> coreUsersProxyCreateWithHttpInfo(
  1. UserProxyPostRequest userProxyPostRequest
)

Add proxy user Params: user_id username email edx_data data

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> coreUsersProxyCreateWithHttpInfo(UserProxyPostRequest userProxyPostRequest,) async {
  // ignore: prefer_const_declarations
  final path = r'/api/core/users/proxy/';

  // ignore: prefer_final_locals
  Object? postBody = userProxyPostRequest;

  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,
    'POST',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}