/// <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<IList<AccountLinkResponse>>.</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); }
public Task<IList<AccountLinkResponse>> LinkAccount(string id, UserAccountLinkRequest request) { return LinkAccountAsync(id, request); }