code: public static base_response kill(nitro_service client, aaasession resource) throws Exception {
  		aaasession killresource = new aaasession();
  		killresource.username = resource.username;
  		killresource.groupname = resource.groupname;
  		killresource.iip = resource.iip;
  		killresource.netmask = resource.netmask;
  		killresource.all = resource.all;
  		return killresource.perform_operation(client,"kill");
  	}
docs: Use this API to kill aaasession.