ZendeskApi_v2.Requests.Users.UpdateUserIdentity C# (CSharp) Method

UpdateUserIdentity() public method

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