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

SetUsersPasswordAsync() public method

public SetUsersPasswordAsync ( long userId, string newPassword ) : Task
userId long
newPassword string
return Task
        public async Task<bool> SetUsersPasswordAsync(long userId, string newPassword)
        {
            var body = new { password = newPassword };
            return await GenericBoolPostAsync(string.Format("users/{0}/password.json", userId), body);
        }