public async Task<IndividualUserIdentityResponse> UpdateUserIdentityAsync(long userId, UserIdentity identity) { var body = new { identity }; return await GenericPostAsync<IndividualUserIdentityResponse>(string.Format("users/{0}/identities.json", userId), body); }
public IndividualUserIdentityResponse UpdateUserIdentity(long userId, UserIdentity identity) { var body = new { identity }; return GenericPost<IndividualUserIdentityResponse>(string.Format("users/{0}/identities.json", userId), body); }