Example #1
0
 /// <summary>
 /// Links a secondary account to a primary account.
 /// </summary>
 /// <param name="id">The ID of the primary account.</param>
 /// <param name="request">The <see cref="UserAccountLinkRequest" /> containing details of the secondary account to link.</param>
 /// <returns>Task&lt;IList&lt;AccountLinkResponse&gt;&gt;.</returns>
 public Task<IList<AccountLinkResponse>> LinkAccount(string id, UserAccountLinkRequest request)
 {
     return Connection.PostAsync<IList<AccountLinkResponse>>("users/{id}/identities", request, null, null, new Dictionary<string, string>
     {
         {"id", id}
     }, null, null);
 }
Example #2
0
 public Task<IList<AccountLinkResponse>> LinkAccount(string id, UserAccountLinkRequest request)
 {
     return LinkAccountAsync(id, request);
 }