removeSocialAccounts method

Future<Ok> removeSocialAccounts({
  1. required List<String> accountUrls,
  2. GithubClientAuth? githubClientAuth,
})

Implementation

Future<github_scheme_respond_scheme.Ok> removeSocialAccounts({
  required List<String> accountUrls,
  GithubClientAuth? githubClientAuth,
}) async {
  Map jsonData = {
    "account_urls": accountUrls,
  };


  Map result = await invoke(
    uriPath: "user/social_accounts",
    method_request: "delete",
    parameters: jsonData,
    statusCodes: [204],
    specialTypeName: "ok",
  );

  return github_scheme_respond_scheme.Ok(
    result,
  );
}